Chinaunix首页 | 论坛 | 博客
  • 博客访问: 77870
  • 博文数量: 20
  • 博客积分: 257
  • 博客等级: 二等列兵
  • 技术积分: 150
  • 用 户 组: 普通用户
  • 注册时间: 2010-11-22 17:29
个人简介

文章分类

全部博文(20)

分类:

2012-04-14 16:12:32

腾讯开放平台 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安装

点击(此处)折叠或打开

  1. ./configure --prefix=/usr/local/services/php --with-config-file-path=/usr/local/services/php/etc --with-mysql --with-iconv-di
  2. r=/usr/local/services/ --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-gd=/usr/local/services/gd2 --enable-gd-
  3. native-ttf --with-libxml-dir --enable-xml --disable-rpath --with-curl=/usr/local/services/curl --enable-discard-path --enable-safe-m
  4. ode --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curlwrappers --enable-mbregex --enable-fastc
  5. gi --enable-fpm --enable-force-cgi-redirect --enable-mbstring --with-openssl --enable-pcntl --enable-sockets
php.ini 对zend和eaccele 的配置

  1. ; Local Variables:
  2. ; tab-width: 4
  3. ; End:
  4. [zend]
  5. zend_optimizer.optimization_level=15
  6. zend_extension="/usr/local/services/php/include/ZendOptimizer.so"
  7. [eaccelerator]
  8. zend_extension="/usr/local/services/php/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so"
  9. eaccelerator.shm_size="128"
  10. eaccelerator.cache_dir="/var/data/eaccelerator/cache"
  11. eaccelerator.enable="1"
  12. eaccelerator.optimizer="1"
  13. eaccelerator.check_mtime="1"
  14. eaccelerator.debug="0"
  15. eaccelerator.filter=""
  16. eaccelerator.shm_max="0"
  17. eaccelerator.shm_ttl="300"
  18. eaccelerator.shm_prune_period="120"
  19. eaccelerator.shm_only="0"
  20. eaccelerator.compress="1"
  21. 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) |
给主人留下些什么吧!~~