Phpmyadmin4.10 Installation

Source: Internet
Author: User
Tags vc9

Phpmyadmin4.10 Installation

1 .:

Phpmyadmin4.10

Https://files.phpmyadmin.net/phpMyAdmin/4.4.10/phpMyAdmin-4.4.10-all-languages.zip

Apache 2.4.12 (VC9)

Http://www.apachehaus.com/cgi-bin/download.plx

Php-5.4.42 (VC9)

Http://windows.php.net/download#php-5.4

2. Installation Considerations

The XP system does not support apache of VC11.

The downloaded apache and php versions must be the same as the VC9 or VC11 versions, and the VC library must be installed. Otherwise, an error will be reported.

(1) If the VC library is not installed, a prompt will be displayed when apache is started.

Error message: "unable to start this program because MSVCR100.dll is lost in the computer. Try to reinstall the program to solve this problem ."

(2) An error will be reported when apache loads PHP.

3. install apache

(1) decompress apache to D: \ phpMyAdmin \ Apache24.

(2) modify the D: \ phpMyAdmin \ Apache24 \ conf \ httpd. conf file

Change Define SRVROOT to "D:/phpMyAdmin/Apache24 ".

(3) start Apache

Start --- run, Enter cmd, and open the command prompt. Enter the following commands respectively (Press enter on each line)
D:
Cd D: \ phpMyAdmin \ Apache24 \ bin
Httpd

If httpd. conf is correctly configured, enter httpd and press Enter. Do not close the command window (close the command window is close Apache), visit the local browser. If "It works" appears, It means that apache has been correctly installed.

 

(4) add Apache to the System Service

Close the httpd command window. Otherwise, an error will be reported.

Start --- run, Enter cmd, and then open a command prompt. Enter the following commands respectively (Press enter on each line)

D:

Cd Apache24 \ bin

Httpd.exe-k install-n "servicename" \ to join the service. Servicename is the name in the Service and can be customized.

If you want to uninstall the service, stop the service first, and then enter httpd.exe-k uninstall-n "servicename" to uninstall the service.

4. install PHP

(1) decompress PHP to D: \ phpMyAdmin \ php5.4.42

(2) copy the php. ini-development file and change the file name to php. ini.

(3) Open the php. ini file

Change to extension_dir = "D: \ phpMyAdmin \ php5.4.42 \ ext"

Remove the semicolon before extension = php_mbstring.dll and extension = php_mysql.dll

(4) Open httpd. conf under Apache24 \ conf.

Add the following statement after # LoadModule xml2enc_module modules/mod_xml2enc.so

LoadModule php5_module "D:/phpMyAdmin/php5.4.42/php5apache2_4.dll"
AddHandler application/x-httpd-php. php
PHPIniDir "D:/phpMyAdmin/php5.4.42"

(5) Create an index. php In D:/phpMyAdmin/Apache24/htdocs. The content is , Restart the Apache server. Accessing the php information indicates that php has been successfully installed.

5. Install phpMyAdmin

(1) Delete all files in D:/phpMyAdmin/Apache24/htdocs

(2) decompress all phpMyAdmin files to htdocs.

(3) modify the config. default. php file under D: \ phpMyAdmin \ Apache24 \ htdocs \ libraries

$ Cfg ['servers'] [$ I] ['host'] = 'localhost'; modify the mysql server address

$ Cfg ['servers'] [$ I] ['Port'] = '000000'; modify the mysql port number

$ Cfg ['servers'] [$ I] ['user'] = 'root'; modify the mysql user name

$ Cfg ['servers'] [$ I] ['Password'] = 'root'; change the mysql password

(4) Restart apache and access appears

Related Article

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.