debian - Zend OPcache requires Zend Engine API version 220090626 -
I updated 5.3 5.3 under Debian Squeeze. I then attempt to install OPcache, that is what I have:
install apt-get build essential PHP5- Dev unzip cd / usr / src wget https: // github.com/zend -dev / ZendOptimizerPlus / archive / master.zip unzip master.zip cd / usr / src / ZendOptimizerPlus Master phpize configure test vi set /etc/php5/conf.d/opcache.ini; Zend_extension = / usr /lib/php5/20100525/opcache.so; (?) Found PHP 5.3 only this one opcache; PHP 5.4 can not use this, your server zend_extension = / usr / lib / PHP5 / 20,090,626 / exists file opcache.so .memory_consumption = 128 opcache.interned_strings_buffer = 8 opcache.max_accelerated_files = 8000 opcache.revalidate_freq = 60 opcache. fast_shutdown = 1 opcache.enable_cli = 1 /etc/init.d/apache2 restart php -v Zend Opakas requires 220,090,626 for the Zend engine API version. Installed Zend Engine API version 220100525, is new. Contact Z Technologies http://www.zend.com/ PHP 5.4.31-1 ~ dotdeb.0 (CLI) for later version of Zend OPcache (built: July 25, 2014 18:40:42) Copyright ( C) 1997-2014 PHP Group Z engine v2.4.0, Copyright (c) 1998-2014 Jade Technologies IonCube PHP loader v4.6.0, Copyright (C) 2002-2014, Aynkyub Ltd
for configuration: PHP API Version: 20090626 Zend module No API: 20090626 Zend extension API No: 220090626
Should not '20100525 with PHP 5.4?
Help!
The mistake you're making is to do a default .configure
, You should have --enable-overcache
, but you have to specify a -php-config = ... / php-config
where ...
5.4 indicates the path of php-config.
Comments
Post a Comment