当前位置:Gxlcms > PHP教程 > linuxphp编译eaccelerator

linuxphp编译eaccelerator

时间:2021-07-01 10:21:17 帮助过:20人阅读

简介:这是linux php 编译 eaccelerator的详细页面,介绍了和php,有关的知识、技巧、经验,和一些php源码等。

class='pingjiaF' frameborder='0' src='http://biancheng.dnbcw.info/pingjia.php?id=335088' scrolling='no'> tar -zxvf eaccelerator-0.9.6.1.tar

./configure --with- php-config=/usr/local/ php/bin/php-config

/usr/local/php/bin/phpize
./configure --enable-eaccelerator=shared --with-php-config=/usr/local/php/bin/php-config
make && make install
在/usr/local/php/etc/php.ini中添加
zend_extension="/usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/eaccelerator.so"
eaccelerator.shm_size="16"
eaccelerator.cache_dir="/tmp/eaccelerator"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.log_file = "/var/log/eaccelerator_log"
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"

mkdir /tmp/eaccelerator
chmod 777 /tmp/eaccelerator


“linux php 编译 eaccelerator”的更多相关文章 》

爱J2EE关注Java迈克尔杰克逊视频站JSON在线工具

http://biancheng.dnbcw.info/php/335088.html pageNo:10

人气教程排行