Wrong Zend Engine API version for PECL module, dual PHP

Maikel

Verified User
Joined
Jan 22, 2014
Messages
12
On a new install I have 2 PHP versions running. Version 1 is PHP 5.3 with PHP_FPM, version 2 is PHP 5.4 with suPHP. I installed Zend Opcache (Optimizer+) with "pecl install zendopcache-7.0.3" and "php -v" in the command line shows something like: PHP 5.3.28 with Zend Opcache. When running a website on PHP 5.3 however, following shows up in the error_log:

Zend OPcache requires Zend Engine API version 220090626.
The Zend Engine API version 220100525 which is installed, is newer.

And phpinfo() does not show Opcache either. My guess is that PHP 5.3 (220090626) and PHP 5.4 (220100525) got mixed up here. If so, what did I do wrong and how can I prevent/correct it?
 
Back
Top