PHP5.4.x编译安装eAccelerator
PHP5.4.x编译安装eAccelerator
精选 转载八月 22, 2012 | In: Linux
文件下载:
tar文件 https://github.com/eaccelerator/eaccelerator/tarball/master
或者
zip文件 https://github.com/eaccelerator/eaccelerator/zipball/master
tar -zxvf eaccelerator.tar.gz
cd /eaccelerator/
/usr/local/php/bin/phpize
./configure --enable-eaccelerator=shared --with-php-config=/usr/local/php/bin/php-config
make && make install
建立cache目录
mkdir /tmp/eaccelerator_cache
chmod 0777 /tmp/eaccelerator_cache
php.ini 添加:
[eaccelerator]
zend_extension="/usr/local/php/lib/php/extensions/no-debug-non-zts-20100525/eaccelerator.so"
eaccelerator.shm_size="1"
eaccelerator.cache_dir="/tmp/eaccelerator_cache"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="3600"
eaccelerator.shm_prune_period="3600"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"
eaccelerator.keys = "disk_only"
eaccelerator.sessions = "disk_only"
eaccelerator.content = "disk_only"
Tags: eaccelerator
http://ideas.spkcn.com/software/os/linux/394.html
上一篇:LAMP环境搭建
下一篇:推荐给开发人员的实用命令行工具
![](https://ucenter.51cto.com/images/noavatar_middle.gif)
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
我的PHP8编译日志
PHP8编译命令
PHP 编译 -
php5.4编译安装实例
php5.4编译安装实例
php5.4 编译安装实例 -
eAccelerator的PHP平台预编译加速
eAccelerator的PHP平台预编译加速
eAccelerator的PHP平台预编