The PHP address is: http://windows.php.net/download/
Apache address is: http://www.apachelounge.com/download/
The MySQL address is: http://dev.mysql.com/downloads/mysql/
1 Installing VC14
Install VC14, i.e. Visaul c++2015
Must be installed because the Windows version of PHP7 is compiled with VC14 and does not install errors that cannot load module Php7apache2_4.dll.
2 Installing apache2.4
Download Httpd-2.4.23-win64-vc14.zip Unzip
Modifying a configuration file d:/apacheserver/apache/conf/httpd.conf
ServerRoot "C:/apache24"
Change into
ServerRoot "D:/apacheserver/apache"
#ServerName www.example.com:80
Change into
ServerName localhost:80
The following can be tested in the browser:
This page appears to indicate that the Apache server is running successfully.
3 Installing PHP7
To extract the Php-7.0.8-win32-vc14-x64.zip, be sure to download the VC14 x64 Thread safe version, or do not include Php7apache2_4.dll.
Configuration 1, configuring Apache
Open the Apache configuration file and add the following:
LoadModule php7_module "D:/phpdevenv/php/php7apache2_4.dll"
AddType application/x-httpd-php. php. html
Phpinidir "d:/phpdevenv/php"
Note: Be sure not to add AddHandler application/x-httpd-php. PHP, add the page without PHP to run successfully, appear to download PHP source page, here and other tutorials online different
2. Configure PHP
Rename the php.ini-development in the PHP directory to php.ini, then open the file, look for "extension_dir", remove the previous comment, and modify it to an absolute path, for example:
Extension_dir = "D:/phpdevenv/php/ext"
4 You can test if PHP can run.
Verify that a phpinfo.php file is created in the root directory of the Apache Web site:
Success
'). addclass (' pre-numbering '). Hide (); $ (this). addclass (' has-numbering '). Parent (). append ($numbering); for (i = 1; i <= lines; i++) {$numbering. Append ($ ('
'). Text (i)); }; $numbering. FadeIn (1700); }); });
The above describes the WIN10 under the construction of APACHE24+PHP7 operating environment, including the aspects of the content, I hope that the PHP tutorial interested in a friend helpful.