开发者

Intermittent PHP error: Undefined core function?

In the last week I've been coming across an incredibly annoying error on one o开发者_如何学运维f Slicehost slices. It appears that every now and then PHP will fail with a fatal error, saying a certain function is undefined. The function changes, but is always a core PHP function e.g. defined(), version_compare(), etc. This problem has occurred while using several different PHP applications - PHPMyAdmin, my own custom built apps, etc, leading me to believe that the problem is not specific to the running code.

Here are some details: - Debian Lenny - Apache 2.2.9 - PHP 5.2.6-1+lenny4 with Suhosin-Patch (running eAccelerator 0.9.6)

Apache and PHP are installed from Debian packages. Error logs show nothing out of the ordinary.

I thought memory might be an issue, but free -m reports upwards of 100MB free almost all the time. Another thing I'm trying to investigate is if the problem might be related to eAccelerator, but testing this theory out is incredibly hard because the issue doesn't appear very often and I've been using eAccelerator for months on this install without any problems up until now.

Has anyone ever come across anything like this? Why would PHP report undefined core functions?


I saw on this forum where a person got this same error but was able to resolve it by correcting line endings. Check that option out.

http://www.webmasterworld.com/php/3333978.htm

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜