One, about Eaccelerator to PHP version of support
Eaccelerator to php5.5 version can be very good support, after 5.5 version cannot compile through
will report this error eaccelerator.c:66:23:fatal error:php_logos.h:no such file or directory
This eaccelerator github the last discussion https://github.com/eaccelerator/eaccelerator/issues/33
Look at the update on the GitHub, actually eaccelerator has not been updated for a long time
Second, in the php5.5 (including 5.5) before the installation of the version, I used the XAMPP
1, to download https://github.com/eaccelerator/eaccelerator download source Package
2, TAR-ZXVF eaccelerator-eaccelerator-42067ac.tar.gz
3. CD EACCELERATOR-EACCELERATOR-42067AC
4./configure--enable-eaccelerator=shared--with-php-config=/opt/lampp/bin/php-config
If prompted cannot find autoconf. Please check your autoconf installation and the
$PHP _autoconf environment variable. Then, rerun this script.
Then install the autoconf
5, Make&make Install
6. Edit/opt/lampp/etc/php.ini
; Disabled in XAMPP 1.7.2 because incompatible with PHP 5.3.0
extension= "eaccelerator.so"
eaccelerator.shm_size= "Eaccelerator.cache_dir=" "
/opt/lampp/temp/eaccelerator"
eaccelerator.enable= "1"
Eaccelerator.optimizer= "1"
eaccelerator.check_mtime= "1"
eaccelerator.debug= "0"
Eaccelerator.filter = "" "
eaccelerator.shm_max=" 0 "eaccelerator.shm_ttl="
0 "
eaccelerator.shm_prune_period=" 0 "
eaccelerator.shm_only= "0"
eaccelerator.compress= "1"
eaccelerator.compress_level= "9"
In fact, this is a hint that xampp 1.7.2 is not used after eaccelerator
Iii. Use of Opcache
PHP5.5 has integrated the Opcache, and the performance is good.
can be very convenient to use
Just open it in the XAMPP.
Zend_extension=opcache.so