PHP 5.5 after Acceleration plugin: ZEND Opcache
As you know, PHP currently has three cache plug-ins: APC, Eaccelerator, XCache, but they may all disappear in the future, because PHP 5.5 is already integrated Zend Opcache, features similar to the first three but slightly different, caching speeds are said to be faster ( Note: It is said that I have not tested it.
php5.5 later version compiled Eaccelerator error is as follows:
- cd/usr/local/src/php- 5.6 . 0
Best modified/etc/php.ini at the end of the join:
- Opcache]
- zend_extension=/usr/local/webserver/php/lib/php/extensions/no-debug-non-zts-20131226/opcache.so
- opcache.memory_consumption=
- opcache.interned_strings_buffer=8
- opcache.max_accelerated_files=4000
- opcache.revalidate_freq=
- opcache.fast_shutdown=1
- opcache.enable_cli=1
Restart PHP-FPM:
The reason is that PHP5.5 the following versions have Php_logos.c,php_logos.h and other files.
If you want to continue using acceleration in the new version, now know that PHP comes with an extension opcache.
Test the address in https://gist.github.com/ck-on/4959032, save the above code as a PHP file and put it in the directory below your website to open it to see.
http://www.bkjia.com/PHPjc/964930.html www.bkjia.com true http://www.bkjia.com/PHPjc/964930.html techarticle PHP 5.5 After the accelerator plugin: ZEND opcache you know that PHP currently has three cache plug-ins: APC, Eaccelerator, XCache, but they may disappear in the future, because PHP 5.5 is set ...