Windows XP system installation apache+php+mysql

  

Apache and mysql installation is relatively simple, mainly to ensure that the 80 port is not occupied before installation, such as iis previously installed apache mysql first stop running phpmyadmin, mainly the problem of configuration files Copy Config.default.php in the Libraries directory of the phpMyAdmin installation directory to the PHPmyAdmin root directory, rename it to Config.inc.php; open Config.inc.php with Notepad, and “$cfg['blowfish_secret'] = '';” Change to “$cfg['blowfish_secret'] = 'Everything can';” , where “” is to avoid ''plus, behind“''” "What can be" can be changed to anything else, that is, can not be "no", or space; then "lds; $cfg ['Servers'][$i]['auth_type' ] = 'config';”Change to “'$cfg['Servers'][$i]['auth_type'] = 'cookie';”; The last step is to save it. More detailed setup method: Search for $cfg['PmaAbsoluteUri'], set your phpmyadmin URL, such as: $cfg ['PmaAbsoluteUri'] = 'localhost/phpmyadmin/'; Note that phpmyadmin is assumed to be in the root directory of the default site. Search for $cfg['blowfish_secret'], after setting the root password, fill in the ROOT password 123456 and set it to $cfg['blowfish_secret'] = '123456'; search for $cfg['DefaultLang'] and set it. Is zh-gb2312; search for $cfg['DefaultCharset'] and set it to gb2312; search for $cfg['Servers'][$i]['auth_type'], default to config, is not safe, not recommended, It is recommended to use a cookie and set it to $cfg['Servers'][$i]['auth_type'] = 'cookie'; Note that if set to config here please set the username and password below! For example: $cfg['Servers'][$i]['user'] = 'root'; //MySQL user-----MySQL connection user $cfg['Servers'][$i]['password' ] = '123456'; Open a browser and type: localhost/phpMyAdmin/. If both IIS and MySQL are started, enter the user ROOT password 123456 to browse the database contents. phpMyAdmin has the following error: The configuration file now requires a top secret phrase password (blowfish_secret) because $cfg['Servers'][$i]['auth_type'] = 'cookie';, so a password is required. Open the config.inc.php file in the phpMyAdmin installation directory and find $cfg['blowfish_secret'] = ''. Enter your password. For example: mysql password is "666666", set to: $cfg['blowfish_secret'] = '666666' All installations are completed. TITLE: Install apache+php+mysql under xp system

Copyright © Windows knowledge All Rights Reserved