Apache错误日志需要帮助来清除这些错误

时间:2015-08-09 13:34:52

标签: apache centos vps

有人可以看看并帮助我在我的apache中找到的这些错误日志,我的某些网站也停止了工作

'<b>Deprecated</b>:  Directive 'register_globals' is deprecated in PHP 5.3 and greater in <b>Unknown</b> on line <b>0</b><br />
[Sun Aug 09 08:25:57 2015] [error] [client 66.249.79.11] <br />
[Sun Aug 09 08:25:57 2015] [error] [client 66.249.79.11] <b>Warning</b>:  PHP Startup: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in <b>Unknown</b> on line <b>0</b><br />
[Sun Aug 09 08:25:57 2015] [error] [client 66.249.79.11] <br />
[Sun Aug 09 08:25:57 2015] [error] [client 66.249.79.11] <b>Deprecated</b>:  Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in <b>Unknown</b> on line <b>0</b><br />
[Sun Aug 09 08:26:23 2015] [error] [client 178.159.0.114] Cannot load the ionCube PHP Loader - it was built with configuration 2.2.0, whereas running engine is API220090626,NTS
[Sun Aug 09 08:26:23 2015] [error] [client 178.159.0.114] Zend Optimizer requires Zend Engine API version 220060519.
[Sun Aug 09 08:26:23 2015] [error] [client 178.159.0.114] The Zend Engine API version 220090626 which is installed, is newer.
[Sun Aug 09 08:26:23 2015] [error] [client 178.159.0.114] Contact Zend Technologies at http://www.zend.com/ for a later version of Zend Optimizer.
[Sun Aug 09 08:26:23 2015] [error] [client 178.159.0.114] 
[Sun Aug 09 08:26:23 2015] [error] [client 178.159.0.114] Failed loading /usr/local/Zend/lib/ZendExtensionManager.so:  /usr/local/Zend/lib/ZendExtensionManager.so: cannot open shared object file: No such file or directory
Cannot load the ionCube PHP Loader - it was built with configuration 2.2.0, whereas running engine is API220090626,NTS
'

1 个答案:

答案 0 :(得分:1)

这意味着您拥有PHP 5.3.something,而且ionCube Loader和Zend组件都是为旧版本的PHP 5构建的。您应该做两件事,或者可能是三件事:

1)升级到PHP 5.5或5.6,因为5.3在前一段时间到了生命周期并且已经很老了。

2)从http://ioncu.be/L的ionCube站点和Zend组件(如果需要)安装适用于PHP 5.5和5.6的ionCube Loader。 ionCube Loaders页面上有一个名为Loader向导的工具可以提供帮助。

3)如果PHP 5.3是你的主机给你的东西,如果没有选择使用新版本,并且那里有一些托管经销商,那么立即更改你的主机并获得一个有信誉的主机到目前为止,使用PHP和操作系统版本。在webhostingtalk.com上搜索可以找到更好的搜索结果。