php下免费的加速器,PHP Accelerator

时间:2010-01-16 10:38:31   来源:第二电脑网  作者:第二电脑网

  第二电脑网导读:   phpa.tweaks = on   phpa.cache_dir = /tmp   phpa.file_perms = 400   phpa.cache_file_prune_period = 1h   phpa.cache_file_ttl = 1d   phpa.shm_size = 10   phpa.shm_key = 0xc0deb00   phpa.shm_perms = 666   phpa.shm_use...
  正文:

http://PHP-accelerator.co.uk/ 可以下载,是zend的强劲对手。是免费的。我已经在用啦。效果还不错。
  修改 php.ini 加上:
  zend_extension = /usr/local/lib/php_accelerator_1.3.3r2.so
  phpa = on
  phpa.tweaks = on
  phpa.cache_dir = /tmp
  phpa.file_perms = 400
  phpa.cache_file_prune_period = 1h
  phpa.cache_file_ttl = 1d
  phpa.shm_size = 10
  phpa.shm_key = 0xc0deb00
  phpa.shm_perms = 666
  phpa.shm_user = nobody
  phpa.shm_group = nobody
  phpa.shm_release_at_exit = on
  phpa.shm_stats_check_period = 5m
  phpa.shm_ttl = 12h
  phpa.shm_max_processes = 512
  phpa.shm_lock_threshold0 = 10
  
  apachectl graceful 就能用啦。具体参数看它的文档


来源:http://www.002pc.com/master/College/Programming/PHP/11971.html

收藏到:

关于《php下免费的加速器,PHP Accelerator》文章的评论

共有 0 位网友发表了评论 此处只显示部分留言 点击查看完整评论页面

随机文章

    SQL Error: select * from ***_ecms_article where classid='86' and checked=1 order by rand() limit 10

顶出来的热门

    SQL Error: select * from ***_ecms_article where classid='86' and checked=1 order by diggtop desc,id desc limit 10
站内搜索: 高级搜索

热门搜索: Windows style 系统 tr IP QQ CPU 安装 function 注册 if td