Home  >  Article  >  Backend Development  >  Quickly configure PHPMyAdmin method_PHP tutorial

Quickly configure PHPMyAdmin method_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 15:52:28895browse


Then we start the installation and configuration now:

1. Generally, the PHPMyAdmin downloaded from the Internet is a compressed package, and we release it into the htdocs directory, such as htdocsphpmyadmin.

2. Open the phpmyadmin directory and see if there is a config.sample.inc.php file in this directory. If it exists, rename it to config.inc.php. (Depending on the version, there may be a config.inc.php file directly, so there is no need to change the name. It is also possible that there is no config.sample.inc.php or config.inc.php at all. Then we will go to the phpmyadminlibraries directory and change the config. .default.php is copied to the phpmyadmin directory and renamed config.inc.php).

3. Open the config.inc.php file (you can use WordPad) and find $cfg['blowfish_secret'] = ''; and $cfg['Servers'][$i]['auth_type' ] = 'cookie';, if the value of $cfg['Servers'][$i]['auth_type'] is cookie as seen before, then we must set it in $cfg['blowfish_secret'] = ' ' Write a string of characters arbitrarily in the quotation marks, and you can understand it as an identity verification code. For example $cfg['blowfish_secret'] = 'sunec'. Save and exit.

At this point, the installation and configuration of phpmyadmin is over. Enter the browser and enter http://localhost/phpmyadmin/main.php in the address bar. (The path here is based on the previously unzipped phpmyadmin in htdocs Determined by the directory name), if everything goes well, a screen for you to enter your username and password should appear on the page. Enter your username and password (Mysql username and password), and then enter the main interface of phpmyadmin. As for how to use it, I won’t go into it here for the time being. You can explore it yourself first~

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/318961.htmlTechArticle Then we start the installation and configuration now: 1. Generally, the PHPMyAdmin downloaded from the Internet is a compressed package, we will Release to the htdocs directory, such as htdocsphpmyadmin. 2. Open php...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn