phpcms sets the database information in the "database.php" file. The specific setting steps are: first open the caches folder and find the configs folder; then find the configs folder and find the "database.php" file; finally Just modify the database information.
Where to set up the database for phpcms
Use the ftp upload tool to open your own website source code file
Find the 'caches' folder in the source code file
Open the 'caches' folder and find the 'configs' folder
Find the 'configs' folder and find the database.php file
Save the database.php file to the desktop, use The software opens the file
#At this time we can start to configure the file. We can complete the correct filling in the database name, data name, and database password
Recommended: "phpcms tutorial"
The above is the detailed content of Where to set up the database in phpcms. For more information, please follow other related articles on the PHP Chinese website!