Install apache + php + mysql_MySQL in an XP environment

Source: Internet
Author: User
Install apache + php + mysql Apache in an XP environment

The installation of Apache and mysql is relatively simple. before installation, ensure that port 80 is not occupied. for example, if apache mysql installed in iis is disabled before installation, it is mainly caused by the configuration file, set the Config under the Libraries Directory under The phpMyAdmin installation directory. default. copy php to The PHPmyAdmin root directory,

Change the name to Config. inc. php; use notepad to open Config. inc. php: change "$ cfg ['blowfish _ secret'] =''; "to" $ cfg ['blowfish _ secret'] = '';", here, "" is added to avoid ''. you can change" everything "in" ''" to "nothing", that is, not "none ", it is also a space. Next, set "$ cfg ['servers'] [$ I] ['auth _ type'] = 'config '; "changed to" '$ cfg ['servers'] [$ I] ['auth _ type'] = 'cooker'; ". The last step is to click and save.

More detailed settings:

Search for $ cfg ['pmaabsoluteuri '] and set your phpmyadmin URL, for example, $ cfg ['pmaabsoluteuri'] = 'http: // localhost/phpmyadmin /'; note that phpmyadmin is in the root directory of the default site.

Search for $ cfg ['blowfish _ secret'], after the root password is set, enter $ cfg ['blowfish _ secret '] = '2016' for example, ROOT password 123456 ';

Search for $ cfg ['defaultlang '] and set it to a zh-gb2312;

Search for $ cfg ['defaultcharset'] and set it to gb2312;

Search for $ cfg ['servers'] [$ I] ['auth _ type']. the default value is config. it is insecure and is not recommended. cookie is recommended, set it to $ cfg ['servers'] [$ I] ['auth _ type'] = 'cooker ';

Note that if config is set here, set the user name and password below! For example:

$ Cfg ['servers'] [$ I] ['user'] = 'root'; // MySQL user ----- connect to a user in MySQL

$ Cfg ['servers'] [$ I] ['password'] = '000000 ';

Open your browser and enter http: // localhost/phpMyAdmin/. if both IIS and MySQL are enabled, enter the ROOT password 123456 to view the database content.

PhpMyAdmin has the following error: the configuration file now requires a top secret phrase password (blowfish_secret)

Because $ cfg ['servers'] [$ I] ['auth _ type'] = 'cooker';, a password is required.

Open the config. inc. php file in the phpMyAdmin installation directory, find $ cfg ['blowfish _ secret '] = '', and enter the password. For example, if the mysql password is "666666", it is set to: $ cfg ['blowfish _ secret'] = '2016'

So far, all installation is complete.

TITLE: install apache + php + mysql in XP

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.