PHP Apache phpmyadmin mysql Environment installation

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.