php配置文件出错 config_global.php
<?php$_config=array();//----------------------------CONFIGDB-------------------------...
<?php
$_config = array();
// ---------------------------- CONFIG DB ----------------------------- //$_config['db']['1']['dbhost'] = 'localhost';
$_config['db']['1']['dbuser'] = 'user1115840';
$_config['db']['1']['dbpw'] = '4165121';
$_config['db']['1']['dbcharset'] = 'utf8';
$_config['db']['1']['pconnect'] = '1';
$_config['db']['1']['dbname'] = 'db1115840-main';
$_config['db']['1']['tablepre'] = 'pre_';
// -------------------------- CONFIG MEMORY --------------------------- //$_config['memory']['prefix'] = 'discuz_';
$_config['memory']['eaccelerator'] = 1;
$_config['memory']['xcache'] = 1;
$_config['memory']['memcache']['server'] = '';
$_config['memory']['memcache']['port'] = 11211;
$_config['memory']['memcache']['pconnect'] = 1;
$_config['memory']['memcache']['timeout'] = 1;
// -------------------------- CONFIG SERVER --------------------------- //$_config['server']['id'] = 1;
// ------------------------- CONFIG DOWNLOAD -------------------------- //$_config['download']['readmod'] = 2;
$_config['download']['xsendfile']['type'] = '0';
$_config['download']['xsendfile']['dir'] = '/down/';
// --------------------------- CONFIG CACHE --------------------------- //$_config['cache']['type'] = 'file';
// -------------------------- CONFIG OUTPUT --------------------------- //$_config['output']['charset'] = 'utf-8';
$_config['output']['forceheader'] = 1;
$_config['output']['gzip'] = '0';
$_config['output']['tplrefresh'] = 1;
$_config['output']['language'] = 'zh_cn';
整个网站。 成了空白 没有错误提示 原来是好的 我修改了一下后 就 出错了 展开
$_config = array();
// ---------------------------- CONFIG DB ----------------------------- //$_config['db']['1']['dbhost'] = 'localhost';
$_config['db']['1']['dbuser'] = 'user1115840';
$_config['db']['1']['dbpw'] = '4165121';
$_config['db']['1']['dbcharset'] = 'utf8';
$_config['db']['1']['pconnect'] = '1';
$_config['db']['1']['dbname'] = 'db1115840-main';
$_config['db']['1']['tablepre'] = 'pre_';
// -------------------------- CONFIG MEMORY --------------------------- //$_config['memory']['prefix'] = 'discuz_';
$_config['memory']['eaccelerator'] = 1;
$_config['memory']['xcache'] = 1;
$_config['memory']['memcache']['server'] = '';
$_config['memory']['memcache']['port'] = 11211;
$_config['memory']['memcache']['pconnect'] = 1;
$_config['memory']['memcache']['timeout'] = 1;
// -------------------------- CONFIG SERVER --------------------------- //$_config['server']['id'] = 1;
// ------------------------- CONFIG DOWNLOAD -------------------------- //$_config['download']['readmod'] = 2;
$_config['download']['xsendfile']['type'] = '0';
$_config['download']['xsendfile']['dir'] = '/down/';
// --------------------------- CONFIG CACHE --------------------------- //$_config['cache']['type'] = 'file';
// -------------------------- CONFIG OUTPUT --------------------------- //$_config['output']['charset'] = 'utf-8';
$_config['output']['forceheader'] = 1;
$_config['output']['gzip'] = '0';
$_config['output']['tplrefresh'] = 1;
$_config['output']['language'] = 'zh_cn';
整个网站。 成了空白 没有错误提示 原来是好的 我修改了一下后 就 出错了 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询