Use macport to install the php55php55-fpm and so on .. The function libraries such as iconv are missing in the installed php environment. After searching for many installation methods, compile the php Directory for installation, as shown below: php. netmanualhiconv. installation. php is macport... use macport to install php55 php55-fpm etc ..
The function libraries such as iconv are missing in the installed php environment,
After searching for many installation methods, compile the php Directory for installation, as shown below:
Http://php.net/manual/zh/iconv.installation.php
But how does one compile php55 installed in macport mode?
If you want to download php source package for compilation, php55-fpm and so on how to install ..
Thank you.
Reply content:
Use macport to install php55 php55-fpm etc ..
The function libraries such as iconv are missing in the installed php environment,
After searching for many installation methods, compile the php Directory for installation, as shown below:
Http://php.net/manual/zh/iconv.installation.php
But how does one compile php55 installed in macport mode?
If you want to download php source package for compilation, php55-fpm and so on how to install ..
Thank you.
You first port install php55-iconv to see if there is any in the source. If not, download the source code of the corresponding version. Make sure that your environment contains phpize and php-config, and then compile it. After compilation, copy the so file to the extended directory and write it to the configuration file.
I don't need a MAC. I only use linux.
Some extensions of php require additional installation, such as curl and mysqli
sudo apt-get install php5-curlsudo apt-get install php5-mysqlnd
Check if php's icon extension is included in other packages?
If you need to use --- <模块名> Run the configure script and then make
Laxatives ~
Like the php5-fpm has been integrated in the php source code, the installation should be regularmake && sudo make install
Right
P.s. although I use mac, php is installed on ubuntu virtual machines. As a result, there are many software packages in ubuntu, second, it is easy to create backups/images. Therefore, we suggest you use a virtual machine to install ubuntu. After all, the popular environment is LAMPP, not OAMPP.