: This article describes how to install and configure Apache, PHP, and MySQL. For more information about PHP tutorials, see. Win7 64-bit
Apache-2.4 64-bit VC11
PHP-5.5 64-bit VC11
MySQL-5.6 64-bit
1. Download
Apache: http://www.apachelounge.com/download/VC11/binaries/httpd-2.4.10-win64-VC11.zip
2, PHP: http://windows.php.net/downloads/releases/php-5.5.20-Win32-VC11-x64.zip
MySQL: http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.22-winx64.zip
4. VC11: http://www.microsoft.com/en-US/download/details.aspx? Id = 30679
II. configuration
Apache configuration
1. modify the ServerRoot "D:/apache24" and Apache installation directory.
2. modify ServerAdmin. optional.
3. remove the one before ServerName #
4. modify DocumentRoot "D:/www" and , Website root directory
5. modify DirectoryIndex index.html index. php index.htm to support more Upload pages.
6. modify ScriptAlias/cgi-bin/"D:/apache24/cgi-bin/" and
Start -- run, enter cmd, enter the apache24/bin directory, and run httpd. if the configuration is correct, no output is displayed. Otherwise, an error message is displayed.
The system service added to windows can be self-started: httpd.exe-k install-n "apache24"
Uninstall this service: httpd.exe-k uninstall-n "apache24"
PHP configuration
1. copy and paste php. ini-development and rename it to php. ini.
2. add
LoadModule php5_module "D:/php/php5apache2_4.dll"
AddHandler application/x-httpd-php. php
PHPIniDir "D:/php"
3. enable extension_dir = "D:/php/ext"
4. enable extension = php_mysql.dll and extension = php_mysqli.dll.
MySQL configuration
Run the installation directly.
The above introduces the PHP quick start-Apache, PHP, MySQL installation and configuration, including some content, hope to be helpful to friends who are interested in PHP tutorials.