首页 > 代码库 > eAccelerator性能测试

eAccelerator性能测试

安装eAccelerator:
https://github.com/eaccelerator/eaccelerator/

Requirements

  • apache >= 1.3, mod_php >= 5.1 or php with fastcgi support

  • autoconf, automake, libtool, m4

Compatibility

eAccelerator works with php version 5.1 and higher.
It is being used on Linux, FreeBSD, Mac OS X, Solaris and Windows
with Apache 1.3 and 2, lighttpd, php-fpm and IIS.

一、解决依赖

# yum install -y autoconf automake libtool m4 --nogpgcheck

二、安装

# cd eaccelerator-0.9.6.1# /usr/local/php/bin/phpize# ./configure --enable-shared --with-php-config=/usr/local/php/bin/php-config # make#报错:/usr/src/eaccelerator-0.9.6.1/eaccelerator.c:1938: error: ‘eaccelerator_functions’ undeclared here (not in a function)make: *** [eaccelerator.lo] Error 1

据资料,php5.4已经不支持eAccelerator了,官网上的下载链接都失效了,无力吐槽,不过网上貌似还是能找到php5.4可以用的ea:
https://nodeload.github.com/eaccelerator/eaccelerator/legacy.tar.gz/master

我只想说这链接跟官网的太似了,不过又不一样也是醉了
官网链接:
http://eaccelerator.net/
下载:
https://github.com/eaccelerator/eaccelerator/legacy.tar.gz/master

找个时间再装一下

本文出自 “习惯” 博客,请务必保留此出处http://xiguanmin.blog.51cto.com/4857855/1600071

eAccelerator性能测试