Installed PHP Files:
Php-7.1.11-win32-vc14-x64.zip [This version requires the installation of the VC 2015 Runtime Library for Windows computers] (http://windows.php.net/download#php-7.1)
Baidu Network Disk Link: Http://pan.baidu.com/s/1dFxXpKH Password: x45q
Find a directory to store the installation:
My directory is: D:\software\PHP
With personal hobbies, you can find your own directory to unzip files.
The following files are obtained after decompression:
Rename Php.ini-development to PHP.ini
Modify the php.ini file to specify the location of the Extension_dir load module
Before the No. 736 to No. 738 line; Delete, and 736 lines of Extension_dir = "d:/software/php" configured for their PHP decompression installation path, will be 738 lines extension_dir = "D:/software/php/ext" Configure your PHP to unzip the installation path under Ext.
will be 893 lines 896 lines 903 rows 905 rows 909 lines ahead of the; Remove.
Configure Apache, support PHP7, and configure the php.ini path:
Locate the Conf folder under Apache's installation directory and locate the httpd.conf
Add the following on the last side to exercise its support PHP7: (Apache2.4.29 install: http://www.cnblogs.com/Ningy/p/7782121.html)
LoadModule php7_module "D:/software/php/php7apache2_4.dll"
AddType application/x-compress. Z
AddType application/x-gzip. gz. tgz
AddHandler application/x-httpd-php. php. html. htm
AddType application/x-http-php. php. html. htm
AddType application/pdf. pdf
Phpinidir "d:/software/php"
PHP7 the MySQL extension, we can only use mysqli and PDO instead.
Windows Decompression Edition installs 64-bit PHP7.1.11