Configuration of phpMyAdmin in Win7
First download the compressed file from phpMyAdmin official website (phpMyAdmin on the official website of the demo database), extract the Htdoc under Apache, and change the folder name to " phpMyAdmin"。 (Do not know whether it can be placed in any place, the name of the folder can be arbitrary, if phpmyadmin to other places, how to find the Apache server?) Also please expert guidance! )
Due to the different versions of phpMyAdmin, there are different configuration file。 My approach is to delete the config.inc.php and config.simple.inc.php under the home directory, and modify the config.default.php file details below the Libraries folder as follows:
- $cfg [' pmaabsoluteuri '] = 'http://localhost/phpmyadmin/'; Don't lose the last slash.
- $cfg [' Servers '] [$i] [' auth_type '] = 'config '; Local debugging can be recommended with config cookies (cookies must be used for debugging over the network) need to be configured with a different thing $cfg[' blowfish_secret '] = ';
- $cfg [' Servers '] [$i] [' host '] = 'localhost';
- $cfg [' Servers '] [$i] [' user '] = 'root'; Set the user name of the MySQL database software
- $cfg [' Servers '] [$i] [' password '] = 'root'; MySQL Password
- $cfg [' defaultlang '] = 'zh'; Default language set to Chinese
Online prompted to set the default encoding for gb2312 $cfg [' defaultcharset '] = 'gb2312'; But I didn't find the setting for the item, nor did I add this setting.
- Focus (solution for the problem that appears above)
Create a new phpsessiontmp directory in the PHP5 home directory and set session.save_path = "D:/program files/php-5.2.17-win32-vc6-x86/in the php.ini configuration file Phpsessiontmp"
Session.auto_start = 1
- Focus on Htdocs, phpmyadmin/libraries/config.default.php set $cfg[' sessionsavepath '] = 'd:/program Files/ Php-5.2.17-win32-vc6-x86/phpsessiontmp';
- Access in the browser, Http://localhost/phpmyadmin, appears the following interface, a large part of the success! If not, use the Force Refresh browser (Ctrl+f5). or clean down your browser's offline files and offline cookies. I am ctrl+f5 refresh, basic can be used
But there's no problem.
PS: Need to add mysqli extension in PHP! It is said that the actual use of MySQL is not affected, mainly linked to the SQLite database!
Reference: http://www.jb51.net/article/18318.htm###
Http://www.myxzy.com/post-317.html