Home CMS Tutorial DEDECMS Where is the dedecms configuration file?

Where is the dedecms configuration file?

Jul 29, 2019 pm 02:50 PM
dedecms

Where is the dedecms configuration file?

If you want to know a lot about dedecms, you can click: dedecms tutorial

Some friends need to modify the database configuration when changing dede space or dede database. Such as database prefix, database name, etc.

Where can I find the dede database configuration file?

dede database configuration The path where the file is located is:/data/common.inc.php

Modification method:

Download this file using ftp and use Notes This editor.

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';数据库语言版本 
?>
Copy after login

You can modify it according to your needs...

The above is the detailed content of Where is the dedecms configuration file?. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
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

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Where is the imperial cms resource network template? Where is the imperial cms resource network template? Apr 17, 2024 am 10:00 AM

Where is the imperial cms resource network template?

How to use dedecms How to use dedecms Apr 16, 2024 pm 12:15 PM

How to use dedecms

Accurate and reliable dedecms conversion tool evaluation report Accurate and reliable dedecms conversion tool evaluation report Mar 12, 2024 pm 07:03 PM

Accurate and reliable dedecms conversion tool evaluation report

How to upload local videos to dedecms How to upload local videos to dedecms Apr 16, 2024 pm 12:39 PM

How to upload local videos to dedecms

How dedecms implements template replacement How dedecms implements template replacement Apr 16, 2024 pm 12:12 PM

How dedecms implements template replacement

A simple way to learn dedecms encoding conversion function A simple way to learn dedecms encoding conversion function Mar 14, 2024 pm 02:09 PM

A simple way to learn dedecms encoding conversion function

What loopholes does dedecms have? What loopholes does dedecms have? Aug 03, 2023 pm 03:56 PM

What loopholes does dedecms have?

What does dedecms mean? What does dedecms mean? Apr 16, 2024 pm 12:48 PM

What does dedecms mean?

See all articles