腾讯开放平台 suse 10.1下搭建 PHP5.2.11(FastCGI)+ GD + ZendOptimizer+eaccelerator-0.9.5.3
参考教程
大部分软件包下载地址
curl.haxx.se/download/curl-7.17.1.tar.gz
=============================
php安装
- ./configure --prefix=/usr/local/services/php --with-config-file-path=/usr/local/services/php/etc --with-mysql --with-iconv-di
- r=/usr/local/services/ --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-gd=/usr/local/services/gd2 --enable-gd-
- native-ttf --with-libxml-dir --enable-xml --disable-rpath --with-curl=/usr/local/services/curl --enable-discard-path --enable-safe-m
- ode --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curlwrappers --enable-mbregex --enable-fastc
- gi --enable-fpm --enable-force-cgi-redirect --enable-mbstring --with-openssl --enable-pcntl --enable-sockets
php.ini 对zend和eaccele 的配置
- ; Local Variables:
- ; tab-width: 4
- ; End:
- [zend]
- zend_optimizer.optimization_level=15
- zend_extension="/usr/local/services/php/include/ZendOptimizer.so"
- [eaccelerator]
- zend_extension="/usr/local/services/php/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so"
- eaccelerator.shm_size="128"
- eaccelerator.cache_dir="/var/data/eaccelerator/cache"
- eaccelerator.enable="1"
- eaccelerator.optimizer="1"
- eaccelerator.check_mtime="1"
- eaccelerator.debug="0"
- eaccelerator.filter=""
- eaccelerator.shm_max="0"
- eaccelerator.shm_ttl="300"
- eaccelerator.shm_prune_period="120"
- eaccelerator.shm_only="0"
- eaccelerator.compress="1"
- eaccelerator.compress_level="9"
期间出现的错误解决方法
http://blog.csdn.net/lgh2008/article/details/1831184
http://james23dier.iteye.com/blog/798898
http://blog.sina.com.cn/s/blog_56a70c0401000are.html
阅读(1185) | 评论(0) | 转发(0) |