We download the program on the Internet, there are many and do not install the program, but we need to manually modify the database configuration file some also need a website path such as domain name, the following by the charm of the network for everyone to explain
<?Php
$pe [' db_host '] = ' localhost '; server name
$pe [' db_name '] = ' cps1 '; database name
$pe [' db_user '] = ' root '; database user name
$pe [' db_pw '] = '; Database password
$pe [' db_coding '] = ' utf8 '; encoding
$pe [' url_model '] = ' pathinfo_safe '; security Code
$pe [' domain_cps '] = ' cps.cps.com '; site domain name here needs to change to its own local domain name debugging to local directory such as http://localhost/viicms/
$pe [' domain_mark '] = ' cps.cps.com '; watermark or whatever.
define (' Dbpre ', ' cps_ ');
?>
Local debugging I changed it so I put the program in the Viicms folder instead of the root directory and it's written like this.
<?php$pe[' db_host ' = ' localhost '; $pe [' db_name '] = ' viicms '; $pe [' db_user '] = ' root '; $pe [' db_pw '] = ' root '; $pe [' Db_ Coding '] = ' utf8 '; $pe [' url_model '] = ' pathinfo_safe '; $pe [' domain_cps '] = ' http://localhost/viicms/'; $pe [' Domain_mark '] = ' cps.cps.com ';d efine (' Dbpre ', ' cps_ ');? >
What you do not understand, or can not access to consult the charm of the network
How to interpret and replace the contents of database config.php file