Use Macport to install Php55 php55-fpm, etc...
Iconv libraries are missing from the installed PHP environment,
Search for a lot of installation methods, are compiled PHP directory to install, as follows:
http://php.net/manual/zh/iconv.installation.php
But how to compile the Php55 of Macport way installation?
If you want to download the PHP source package to compile, php55-fpm and so on how to install.
For advice, thank you.
Reply content:
Use Macport to install Php55 php55-fpm, etc...
Iconv libraries are missing from the installed PHP environment,
Search for a lot of installation methods, are compiled PHP directory to install, as follows:
http://php.net/manual/zh/iconv.installation.php
But how to compile the Php55 of Macport way installation?
If you want to download the PHP source package to compile, php55-fpm and so on how to install.
For advice, thank you.
You first port install Php55-iconv to see if there are any in the source. If not, download the corresponding version of the source code, make sure your environment has phpize and php-config and then compile it. Compile and copy the so file to the extension directory and write to the configuration file.
I don't use Macs, only Linux.
Some extensions of PHP require additional installation, such as CURL,MYSQLI and other extensions
sudo apt-get install php5-curlsudo apt-get install php5-mysqlnd
Do you see if the PHP icon extension is also in the other package?
If you are installing from the source, you need to use--with-to <模块名> run the Configure script and make
Laxatives ~
Like PHP5-FPM are already integrated in the PHP source code, installation should be regular make && sudo make install
P.S. But although I use the Mac, but loaded with Ubuntu virtual machine to install, one of the software packages under Ubuntu More, and can easily create backup/image-so it is recommended that the main or virtual machine to install an Ubuntu bar, after all, the more popular environment is LAMPP, Not oampp.