APC 3.1.8 just released a few days ago and today, I upgraded from version 3.1.7 to 3.1.8. After upgraded, I always got blank page / Internal Server Error. (Depends on Browser) Tested it with Nginx 1.0.0, Apache 2.2, PHP 5.3.6 (PHP-FPM), MySQL 5.5, Memcached 1.4.5 with PECL Memcached extention (Tried both 1.0.2 / 2.0 Beta). This problem appear only on Drupal site. SMF Forum is working fine.

My config in Drupal is :

$conf = array(
'cache_inc' => './sites/all/modules/memcache/memcache.inc',
'session_inc' => './sites/all/modules/memcache/memcache-session.inc',
'memcache_key_prefix' => 'test',
);

$conf['memcache_options'] = array(
Memcached::OPT_COMPRESSION => FALSE,
Memcached::OPT_DISTRIBUTION => Memcached::DISTRIBUTION_CONSISTENT,
Memcached::OPT_BINARY_PROTOCOL => TRUE,
);

Once I took this line out -> 'cache_inc' => './sites/all/modules/memcache/memcache.inc', It came back to work normally.

So, I just downgraded back to 3.1.7. and everything works ok as it used to be. Now, I don't know it's a bug in APC or Memcache Drupal module.

Comments

abx’s picture

Just tested more about the problem. When use version 3.1.8. First page load will works fine but with next page will cause error shows below :

Warning: require_once(dmemcache.inc) [function.require-once]: failed to open stream: No such file or directory in ๐๊� on line 5

Fatal error: require_once() [function.require]: Failed opening required 'dmemcache.inc' (include_path='.:/usr/local/lib/php') in ๐๊� on line 5
_-.’s picture

just stumbled on this report ...

been 'suddenly' seeing similar 'require_once ... file not found' errors, with 'odd' characters in the output as you're seeing.

similarly, just on first page load.

drop back to apc 3.1.7 seems, so far, to cure the problem.

abx’s picture

Status: Active » Closed (works as designed)
abx’s picture

APC 3.1.9 released and it works now.