Phpmyadmin configuration in win7 first downloads the compressed file from the phpmyadmin official website (The phpmyadmin official website has a demo database), decompress it to the htdoc of apache, and change the folder name to "phpmyadmin & quot ;. (I don't know if the folder name can be stored anywhere. if phpmyadmin is stored elsewhere, how can the apache server find it? Please give me some advice! Phpmyadmin configuration in win7
Download the compressed file from the official phpmyadmin website (the demo database is available on the official phpmyadmin website), decompress it to the htdoc of apache, and change the folder name to "phpmyadmin ". (I don't know if the folder name can be stored anywhere. if phpmyadmin is stored elsewhere, how can the apache server find it? For more information, see !)
Different phpmyadmin versions have different configuration files. My solution is to delete config. inc. php and config. simple. inc. php in the main directory, and modify the configuration. default. php file in the libraries folder as follows:
- $ Cfg ['pmaabsoluteuri '] = 'http: // localhost/phpmyadmin/'; do not miss the last slash.
- $ Cfg ['servers'] [$ I] ['auth _ type'] = 'config'; cookie recommended for local debugging (cookies are required for network debugging) you need to configure another item $ cfg ['blowfish _ secret'] = '';
- $ Cfg ['servers'] [$ I] ['host'] = 'localhost ';
- $ Cfg ['servers'] [$ I] ['user'] = 'root'; // Set the username of the mysql database software
- $ Cfg ['servers'] [$ I] ['password'] = 'root'; // mysql password
- $ Cfg ['defaultlang '] = 'zh'; // set the default language to Chinese
A message is displayed on the Internet, indicating that the default encoding is gb2312 $ cfg ['defaultcharset'] = 'gb2312 '. However, I did not find the original setting and didn't add it.
- Key points (solutions to the above problems)
Create the phpsessiontmp directory in the php5 home directory and set session. save_path = "D:/Program Files/php-5.2.17-Win32-VC6-x86/phpsessiontmp" in the php. ini configuration file"
Session. auto_start = 1
- In htdocs, set $ cfg ['sessionsavepath'] = 'd:/Program Files/php-5.2.17-Win32-VC6-x86/phpsessiontmp 'in phpmyadmin/libraries/config. default. php ';
- Visit in the browser, http: // localhost/phpmyadmin, the following interface appears, a majority of success! If not, use force refresh browser (ctrl + F5 ). Or clear offline files and cookies in the browser. I just refreshed it by pressing ctrl + F5. it is basically usable.
But there is still no problem.
Ps: add the mysqli extension to 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