|
空间商没开放chmod函数 程序运行不了 求解救
在本地环境运行正常
到了虚拟空间上报错500
$config['log_threshold'] = 1;
开启错误日志显示
ERROR - 2014-10-02 17:36:19 --> Severity: Warning --> chmod() has been disabled for security reasons D:\freehost\7sb8ekshsror3q\web\zqbx\system\core\Common.php 92
ERROR - 2014-10-02 17:36:19 --> Severity: Warning --> chmod() has been disabled for security reasons D:\freehost\7sb8ekshsror3q\web\zqbx\system\core\Common.php 92
ERROR - 2014-10-02 17:36:19 --> Severity: Warning --> chmod() has been disabled for security reasons D:\freehost\7sb8ekshsror3q\web\zqbx\system\libraries\Log.php 106
设置了
define('ENVIRONMENT', 'production');
还是错误500
求解救方法
|
|