Database config. php file content explanation and replacement methods we download on the Internet, there are many programs that are not installed, but we need to manually modify the database configuration file and some also need the website path such as domain name, the following is an explanation of the charm network.
$ Pe ['DB _ host'] = 'localhost'; server name
$ Pe ['DB _ name'] = 'cps1'; database name
$ Pe ['DB _ user'] = 'root'; database username
$ Pe ['DB _ pw '] = ''; database password
$ Pe ['DB _ coding'] = 'utf8'; encoding
$ Pe ['url _ model'] = 'pathinfo _ safe '; security code
$ Pe ['domain _ cp'] = 'CPS .cps.com '; you need to change the website domain name to your local directory, for example, http: // localhost/viicms/
$ Pe ['domain _ mark'] = 'CPS .cps.com '; watermark or something else.
Define ('dbpre', 'CPS _');
?>
After local debugging, I changed it so that I didn't put the program in the root directory, but put it in the viicms folder.
If you do not know anything or cannot access it, you can consult the charm network.