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

标签 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
'

最佳答案

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

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

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

3) 如果 PHP 5.3 是您的主机提供给您的,并且如果没有选择使用新版本的选项,并且有一些类似的主机经销商,请立即更换您的主机并获得信誉良好的最新版本使用 PHP 和操作系统版本。在 webhostingtalk.com 上进行搜索将是寻找更好的一个地方。

关于Apache 错误日志 需要帮助来清除这些错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31904789/

相关文章:

linux - 在 CentOS 上更新 Stunnel

javascript - Apache PDF 数字签名

php - 在 Ubuntu 14.04 中设置 LAMP 堆栈

apache - 在 Apache Tomcat 中执行从 http 到 https 的 301 重定向

centos - Byobu - CentOS - 关闭窗口自动重命名

macos - 为什么我不能设置 SSHFS 共享? “OSXFUSE file system is not available” 错误

linux - 拒绝访问 apache 拥有的文件

server - 如何在 Google Cloud Compute Engine 中以 root 身份登录?

sqlite - 如何在 Debian 上安装 sqlite

java - org.apache.hadoop.conf.Configuration loadResource错误