Home > Article > CMS Tutorial > How to configure dedecms file
Some friends need to modify the database configuration when changing the website space and Dede database. Such as database prefix, database name, etc.
Where can I find the Dede database configuration file?
The path where the Dede database configuration file is located is: /data/common.inc.php
Modification method:
Download this file using ftp and edit it with notepad.
Related recommendations: "dedecms tutorial"
The following is the content of the dede database configuration file:
<?php //数据库连接信息 $cfg_dbhost = 'localhost';网站地址 $cfg_dbname = 'data';数据库名 $cfg_dbuser = 'data_user';数据库用户 $cfg_dbpwd = 'admin';数据库连接密码 $cfg_dbprefix = 'dede_';数据库前缀 $cfg_db_language = 'gbk';数据库语言版本 ?>
Modify it according to your needs Can!
The above is the detailed content of How to configure dedecms file. For more information, please follow other related articles on the PHP Chinese website!