Phpmyadmin configuration in win7

Source: Internet
Author: User
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:

  1. $ Cfg ['pmaabsoluteuri '] = 'http: // localhost/phpmyadmin/'; do not miss the last slash.
  2. $ 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'] = '';
  3. $ Cfg ['servers'] [$ I] ['host'] = 'localhost ';
  4. $ Cfg ['servers'] [$ I] ['user'] = 'root'; // Set the username of the mysql database software
  5. $ Cfg ['servers'] [$ I] ['password'] = 'root'; // mysql password
  6. $ 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.
  7. 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
  8. In htdocs, set $ cfg ['sessionsavepath'] = 'd:/Program Files/php-5.2.17-Win32-VC6-x86/phpsessiontmp 'in phpmyadmin/libraries/config. default. php ';
  9. 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


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.