Install PHP 5.2.5 in Linux
Install PHP software in Linux
① Tar-zxvf php-5.2.5.tar.gz
② Cd php-5.2.5
③ Use configure to configure the installation information (most important)
./Configure \
-- Prefix =/usr/local/php
-- With-apxs2 =/usr/local/apache/bin/apxs: Specifies the Apache directory
-- With-mysql =/usr/local/mysql: Specifies the MySQL directory.
④ Make
⑤ Make install
After the installation is complete, write the php code in the htdocs directory of the VM.
Why is the current program not running?
A: php support has not been added to apache.
⑥ Set apache to support php running
Check if 53 has been loaded into the php Module
If you do not have this line of code, you must reset apache and php, and add the following code in Line 310:
Remember: After modifying the configuration file, you must reset the Apache server.
Deep understanding of ini configuration in PHP
Analyze the timeout mechanism of PHP scripts
Build a PHP development environment under Ubuntu 14.04 PDF
PHP 7 innovation and Performance Optimization
PHP 7, you deserve it
Experience PHP 7.0 on CentOS 7.x/Fedora 21
Install LNMP in CentOS 6.3 (PHP 5.4, MyySQL5.6)
Nginx startup failure occurs during LNMP deployment.
Ubuntu install Nginx php5-fpm MySQL (LNMP environment setup)
Detailed php hd scanning PDF + CD source code + full set of teaching videos
Configure the php lnmp development environment in CentOS 6
PHP details: click here
PHP: click here
This article permanently updates the link address: