11.10/11.11/11.12 Installing the PHP5 11.13 installation PHP7

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.