XF 1.5 Help with Server Errors

I keep having the following server errors. They repeat once every minute or so. When I restart apache they seem to go away for a while, but then they come back. Any ideas what might be causing this? The URL requested for the error changes each time. Thanks!

I would disable memcache temporarily to see if that makes a difference. If it does, it seems like there are issues reading from your memcache server.

Alternatively, there could be opcode cache corruption happening here. Are you running PHP 5.4 with APC? If so, I would recommend switching to PHP 5.5 (or 5.6) with the built in opcache system.

Click to expand...

I am running 5.4 with Zend Opcache. I tried to upgrade to 5.6, but had issues with conflicts between php-common and php56w-common, among other things. So, I reverted to php 5.4 for simplicity until I could figure out how to upgrade.

I did poke around some more and noticed a couple things:

1. Zend Opcache was fully configured, but not even turned on. I had the client disabled, so I've corrected that.

2. The zend_extension location was incorrect. I needed to point it to my usr directory.

Code:

; Enable Zend OPcache extension module
zend_extension=/usr/lib64/php/modules/opcache.so
; Determines if Zend OPCache is enabled
opcache.enable=1
; Determines if Zend OPCache is enabled for the CLI version of PHP
opcache.enable_cli=1
; The OPcache shared memory storage size.
opcache.memory_consumption=128
; The amount of memory for interned strings in Mbytes.
opcache.interned_strings_buffer=8
; The maximum number of keys (scripts) in the OPcache hash table.
; Only numbers between 200 and 100000 are allowed.
opcache.max_accelerated_files=4000
; The maximum percentage of "wasted" memory until a restart is scheduled.
;opcache.max_wasted_percentage=5
; When this directive is enabled, the OPcache appends the current working
; directory to the script key, thus eliminating possible collisions between
; files with the same name (basename). Disabling the directive improves
; performance, but may break existing applications.
;opcache.use_cwd=1
; When disabled, you must reset the OPcache manually or restart the
; webserver for changes to the filesystem to take effect.
;opcache.validate_timestamps=1
; How often (in seconds) to check file timestamps for changes to the shared
; memory storage allocation. ("1" means validate once per second, but only
; once per request. "0" means always validate)
opcache.revalidate_freq=240