Reference Link: http://jingyan.baidu.com/album/0f5fb099ca944b6d8334eadb.html?picindex=4
1. Prepare the PHP environment
Baidu Cloud Link: Link: http://pan.baidu.com/s/1slU7905 Password: tds2
2. Install Apache Server
3. Open the httpd.conf configuration file
Locate the directory file that corresponds to the PHP directory
Phpinidir "d:/php-5.4.31"
LoadModule php5_module "D:/php-5.4.31/php5apache2_2.dll"
AddType application/x-httpd-php. php
AddType Application/x-httpd-php-source. Phps
AddType application/x-httpd-php. php3
AddType application/x-httpd-php. htm
<ifmodule!mpm_netware_module>
<ifmodule!mpm_winnt_module>
4. Configure PHP files
Copy the Php.ini-development file again and rename the php.ini
Extension_dir= "d:/programming software/php Environment/php-5.4.31/ext"
Date.timezone=prc
5. Place the. php file in the Httdoc directory to start
You may encounter port conflicts, modify port numbers
Launch http://localhost:8088/a.php in Browser
PHP-------2.php launch. php file