Home  >  Article  >  CMS Tutorial  >  How to configure database files in phpcms

How to configure database files in phpcms

尚
Original
2020-01-09 17:24:253939browse

How to configure database files in phpcms

The location of the configuration file is: caches\configs\database.php

Let’s take a look at how to configure the database file:

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

How to configure database files in phpcms

2. Find the 'caches' folder in the source code file

How to configure database files in phpcms

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

How to configure database files in phpcms

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

How to configure database files in phpcms

5. Save the database.php file to the desktop and open the file with software. At this time we can start to configure the file. We will change the database name and data name. , the database password must be filled in correctly.

How to configure database files in phpcms

PHP Chinese website, a large number of free PHPCMS tutorials, welcome to learn online!

The above is the detailed content of How to configure database files 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