The file directory names of PHP Empire CMS are very weird. I took over a job of modifying Empire CMS. I searched for a long time and couldn’t find where the configuration file is. It’s really shameful. I found it through the search and shared it with you. Friends who also cannot find the configuration file shared it. The empire cms database configuration file is /e/class/config.php. For specific configuration options, please refer to the instructions below:
//数据库设置
$phome_use_db='mysql'; //数据库类型
$phome_use_dbver='5.0'; //数据库版本
$phome_db_server='localhost'; //数据库登陆地址
$phome_db_port=''; //端口,不填为按默认
$phome_db_username='root'; //数据库用户名
$phome_db_password='111111'; //数据库密码
$phome_db_dbname='test_dbname'; //数据库名
$phome_db_char='gbk'; //设置默认编码
$phome_db_dbchar='gbk'; //数据库默认编码
$dbtbpre='phome_'; //数据表前缀
$ecmslang='gb'; //语言包
Copy after login
Articles you may be interested in
- Learn to set five common parameters of MySQL database
- Mysql database cache cache function analysis, debugging and performance summary
- How to implement server optimization, staticization, database optimization, and load balancing for high-traffic websites to achieve high load
- Mysql server master-slave database synchronization configuration
- Use curl separately in php Summary of post submission method and get method to obtain web page data
- How to know those SQL statements executed slowly in the database
- Master-slave synchronization backup steps of mysql database in windows environment
- How to locate, troubleshoot and avoid MySQL database performance problems
http://www.bkjia.com/PHPjc/764166.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/764166.htmlTechArticleThe file directory naming of php empire cms is very weird. I took over a job of modifying empire cms and found it. I haven’t found the configuration file for a long time. I’m really ashamed. I searched and found it...