One, prepare the tool.
Httpd-2.4.12-win32-vc9.zip
Php-5.4.40-win32-vc9-x86.zip
Phpmyadmin-4.2.13.2-all-languages
mysql-5.6.23-winx64 Configuration Reference: http://blog.csdn.net/q98842674/article/details/12094777
Second, the environment to build.
1, unzip the httpd-2.4.12-win32-vc9.zip. Put the Apache24 on the D drive.
2, configure D:\Apache24\conf\httpd.conf. Mainly modify the path
ServerRoot "D:/apache24"
DocumentRoot "D:/apache24/htdocs"
<directory "D:/apache24/htdocs" >
<directory "D:/apache24/cgi-bin" >
3, insert service.
See the documentation in the package. Includes the download of the VC runtime.
4, the decompression php-5.4.40-win32-vc9-x86.zip will be placed in the D disk php folder. Rename the php.ini-development copy to PHP.ini. and modify
Remove the preceding semicolon
Extension=php_gd2.dll
Extension=php_mbstring.dll
Extension=php_mysql.dll
Extension=php_mysqli.dll
Write the path to the EXT directory
Extension_dir = "D:/php/ext"
5, ADD environment variable: path:d:\php;d:\php\ext;
6, increase at the end of D:\Apache24\conf\httpd.conf
LoadModule php5_module "D:/php/php5apache2_4.dll"
AddHandler application/x-httpd-php. php
Phpinidir "d:/php"
7. Restart the service OK.
8, unzip the phpmyadmin-4.2.13.2-all-languages.
9, found this file in D:\Apache24\htdocs\phpMyAdmin\libraries\config.default.php php file.
10, copy to D:\Apache24\htdocs\phpMyAdmin\ directory, rename to config.inc.php
11. Modify the config.inc.php file.
$cfg [' Servers '] [$i] [' user '] = ' root ';
/**
* MySQL password (only needed with ' config ' Auth_type)
*
* @global string $cfg [' Servers '] [$i] [' Password ']
*/
$cfg [' Servers '] [$i] [' password '] = ' 123456 ';
12. Restart the service OK.
13, if you encounter some problems (including some file download), please refer to the URL:
Http://www.douban.com/note/241182725/?type=rec
http://www.apachelounge.com/download/
http://windows.php.net/downloads/releases/
Http://www.cnblogs.com/tigertall/archive/2010/01/28/1658869.html
Http://secsky.sinaapp.com/91.html
Http://www.cnblogs.com/Peter-Zhang/archive/2012/12/10/2810915.html
Http://windows.php.net/download
http://httpd.apache.org/docs/2.4/
Apache+php+mysql+phpadmin Build