4 ms·
Does Zend Optimize work in FastCGI mode? A problem with APC is that each FastCGI worker has it's own cache. I've been trying xcache with PHP FastCGI + nginx a
by Osiris 14y ago
Does Zend Optimize work in FastCGI mode? A problem with APC is that each FastCGI worker has it's own cache. I've been trying xcache with PHP FastCGI + nginx and that seems to work well with a shared cache.
[edit] According to the RFC to include Optimizer+ in the PHP core, it does work in fpm mode. https://wiki.php.net/rfc/optimizerplus https://wiki.php.net/rfc/optimizerplus
- johnny22 14y agoyou mean php-fpm ? apc + php-fpm should place nice together if configured correctly.
- magnetikonline 14y agoThat's not correct. APC under PHP-FPM will used a shared opcode cache between PHP child workers, maybe that wasn't the case in the past - but it's been the behaviour I have seen since PHP 5.2 at least. In any case, Optimizer+ is PHP-FPM aware.