symfony/symfony-standard — Issue #227: Config.php doesn't like Zend Server CE
Author: jaydiablo
Created: 2011-11-02 04:44:11+00:00
State: open

Zend Server CE comes with its own opcode cache and APC replacement for shared memory caching.

Zend's replacement provides the APC functions, but APC isn't actually installed, therefore the config.php and check.php checks fail because Symfony sees that APC is installed, but when doing the version comparison, nothing is returned by "phpversion('apc')".

I've tried retrieving the version of Zend Data Cache, but everything I've tried returns nothing. The extension, according to "get_loaded_extensions", is called "Zend Data Cache", but doing a "phpversion" call with that as the extension name doesn't return anything.

Perhaps it's enough to detect that the Zend Data Cache extension is present? I'm not sure why Symfony wants apc >= 3.0.17, so probably some research necessary to be sure that Zend Data Cache meets those requirements.