File Download:
apache:http://httpd.apache.org/download.cgi
Php,phpmyadmin,mysql,api Download: http://pan.baidu.com/s/1o69XDEi
1. Install MySQL:
MySQL is the installation file, click Setup to install, optional default or server only mode, set the database root user password must be remembered.
2.Apache Installation:
Add the Apache24 folder to the D packing directory and extract the downloaded Apache server to the folder
Configure the http.conf file under the Conf folder:
ServerRoot "D:/apache24"
DocumentRoot "D:/www"
<directory "D:/www" >
scriptalias/cgi-bin/"d:/apache24/cgi-bin/"
<directory "D:/apache24/cgi-bin" >
LoadModule Php5_module The location of the "D:/php/php5apache2_4.dll"//php5apache2_4.dll file placement
Phpinidir "d:/php"
3.PHP Installation:
Create a PHP folder in the D packing directory, unzip the PHP file to a folder
Copy the Php.ini-development file under the folder and name it php.ini
To modify the php.ini file:
Extension_dir = "D:/php/ext"
Extension=php_mysql.dll
Extension=php_mysqli.dll
Extension=php_pdo_mysql.dll
4.phpMyAdmin Installation
Create the WWW folder on the D disk as the root directory of the Web site
Place the extracted phpMyAdmin file under the WWW folder, open the Libraries folder under folder, locate the config.default.php file, and open
Modify the root account password of the MySQL database [' Servers '] [$i] [' password '] = ' password ';
[' pmaabsoluteuri '] = ' http://127.0.0.1/phpMyAdmin ';
5. Testing
Open cmd, switch to the D:\Apache24\bin directory, and open the server using the HTTP command
Enter the address localhost/phpmyadmin/index.php in the browser to access the MySQL database
PHP Apache phpmyadmin mysql Environment installation