Home >CMS Tutorial >PHPCMS >Where to set up the database in phpcms

Where to set up the database in phpcms

藏色散人
藏色散人Original
2020-07-14 10:58:592392browse

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 in phpcms

Where to set up the database for phpcms

Use the ftp upload tool to open your own website source code file

Where to set up the database in phpcms

Find the 'caches' folder in the source code file

Where to set up the database in phpcms

Open the 'caches' folder and find the 'configs' folder

Where to set up the database in phpcms

Find the 'configs' folder and find the database.php file

Where to set up the database in phpcms

Save the database.php file to the desktop, use The software opens the file

Where to set up the database in phpcms

#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

Where to set up the database in phpcms

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!

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