Zend OPcache requires Zend Engine API

bartkob

Verified User
Joined
Sep 12, 2007
Messages
27
I try to install OpCache, but have this info:

Code:
Zend OPcache requires Zend Engine API version 320151012.
The Zend Engine API version 320160303 which is installed, is newer.
Contact Zend Technologies at http://www.zend.com/ for a later version of Zend OPcache.

The server has one php php-fpm71. Previously, I installed php-mod 5.6 as second php and php 7.1 as mod_php. I think it could be problem with previously installed php.

I do:
Code:
./build update
./build opcache

#opCache is now installed for PHP 7.1.
#Restarting php-fpm71.


I have zend in options.conf set to off. I checked lots of thread on forum and in google, but I am not sure what to do next.
 
For future use and maybe for someone from Directadmin stuff to fix it I can say how I can manage to repair it.

In file /usr/local/lib/php.conf.d/10-directadmin.ini there was wrong extension_dir /usr/local/lib/php/extensions/no-debug-non-zts-20151012/ instead of /usr/local/lib/php/extensions/no-debug-non-zts-20160303/

I am not sure why it happened. I installed different php version and test it so probably something went wrong.
 
Back
Top