Normal process
1. Of course, download the latest official version (I use win, so download the zip~)
2. Copy the unzipped file to the web application folder
3. Find the configuration file libraries => Make a copy of config.default.php and change the identity to "config.inc.php"
a. Obtain the permission to use MySQL first
//Write the domain name here
$cfg['Servers'][$i]['host'] = 'localhost';
//Set your port
$cfg['Servers'][$i]['port'] = '3306';
//Use database username
$cfg['Servers'][$i]['user'] = 'root';
//Password of this user
$cfg['Servers'][$i]['password'] = 'xxxxxx';
b. Just open the server and access it
The configuration error I encountered
I am very sad to see this...
Solution
1. (Don’t forget, I just forgot...it took me a long time) Create a folder Temp
2. Find the session.save_path line in php.ini and change it to session.save_path = "X:/php/Temp"
3. Change the value of session.auto_start to 1 (start)
Excerpted from matter605924657