11.10/11.11/11.12 installation PHP5
Follow the prompts to complete the installation, the installation process will be error, according to the actual error needs to install
I have this installation error: Configure:error:mcrypt.h not found. Please reinstall Libmcrypt.
The workaround is to install the 2 packages:
First line installation: Yum install-y epel-release
Reinstall: Yum Install-y libmcrypt-devel because this package is dependent on the previous package
To view the loaded modules
View Apache's configuration file
Input/php5.so Search will find the loading of more than one line, the front Plus # is not loaded, need to load the pattern to remove the previous #
/usr/local/php/bin/php-i |less Use this command to view some information about PHP because the specified profile path is empty without the php.ini profile, where you want to copy the configuration file CP php.ini-production/usr/ Local/php/etc/php.ini the configuration file is not loaded until the specified path
11.13 Installing PHP7
After installation, look at the Apache module more PHP7 module
/usr/local/apache2.4/bin/apachectl-m
Need to use that one module needs to be modified in the configuration file
Vi/usr/local/apache2.4/conf/httpd.conf
Input/php5.so search, do not want that one in front add # comment out
What exactly is mysql,mysqli,mysqlnd,pdo in PHP http://blog.csdn.net/u013785951/article/details/60876816
View compilation Parameters http://ask.apelearn.com/question/1295
11.10/11.11/11.12 Installing the PHP5 11.13 installation PHP7