欢迎光临
我们一直在努力

Virtualmin安装eaccelerator

  1. wget http://bart.eaccelerator.net/source/0.9.6.1/eaccelerator-0.9.6.1.tar.bz2
  2. tar xvfj eaccelerator-0.9.6.1.tar.bz2
  3. cd eaccelerator-0.9.6.1
  4. /usr/bin/phpize
  5. ./configure –enable-eaccelerator=shared –with-php-config=/usr/bin/php-config
  6. make
  7. make install
  8. cd /
  9. rm -rf eaccelerator-0.9.6.1
  10. rm eaccelerator-0.9.6.1.tar.bz2
  11. vi /etc/php.d/eaccelerator.ini
  12. OpenVZ
  13. extension=”eaccelerator.so”
  14. eaccelerator.shm_size=”0″
  15. eaccelerator.cache_dir=”/tmp/eaccelerator”
  16. eaccelerator.enable=”1″
  17. eaccelerator.optimizer=”1″
  18. eaccelerator.check_mtime=”1″
  19. eaccelerator.debug=”0″
  20. eaccelerator.log_file = “/var/log/eaccelerator_log”
  21. eaccelerator.filter=””
  22. eaccelerator.shm_max=”0″
  23. eaccelerator.shm_ttl=”0″
  24. eaccelerator.shm_prune_period=”0″
  25. eaccelerator.shm_only=”0″
  26. eaccelerator.compress=”1″
  27. eaccelerator.compress_level=”9″
  28. eaccelerator.keys = “disk_only”
  29. eaccelerator.sessions = “disk_only”
  30. eaccelerator.content = “disk_only”
  31. Xen
  32. extension=”eaccelerator.so”
  33. eaccelerator.shm_size=”64″
  34. eaccelerator.cache_dir=”/tmp/eaccelerator”
  35. eaccelerator.enable=”1″
  36. eaccelerator.optimizer=”1″
  37. eaccelerator.check_mtime=”1″
  38. eaccelerator.debug=”0″
  39. eaccelerator.log_file = “/var/log/eaccelerator_log”
  40. eaccelerator.filter=””
  41. eaccelerator.shm_max=”0″
  42. eaccelerator.shm_ttl=”0″
  43. eaccelerator.shm_prune_period=”0″
  44. eaccelerator.shm_only=”0″
  45. eaccelerator.compress=”1″
  46. eaccelerator.compress_level=”9″
  47. eaccelerator.keys = “shm_and_disk”
  48. eaccelerator.sessions = “shm_and_disk”
  49. eaccelerator.content = “shm_and_disk”
  50. mkdir -p /var/cache/eaccelerator
  51. chmod 0777 /var/cache/eaccelerator
  52. service httpd restart
  53. php -v
转载至http://www.580d.com/thread-213538-1-1.html
赞(0) 打赏
未经允许不得转载:优惠吧 » Virtualmin安装eaccelerator
分享到: 更多 (0)

评论 295

评论前必须登录!