Heim  >  Artikel  >  Backend-Entwicklung  >  php下免费的加速器,PHP Accelerator_PHP教程

php下免费的加速器,PHP Accelerator_PHP教程

WBOY
WBOYOriginal
2016-07-13 17:33:041096Durchsuche

http://php(做为现在的主流开发语言)-accelerator.co.uk/ 可以下载,是zend的强劲对手。是免费的。我已经在用啦。效果还不错。
修改 php(做为现在的主流开发语言).ini 加上:
zend_extension = /usr/local/lib/php(做为现在的主流开发语言)_accelerator_1.3.3r2.so
php(做为现在的主流开发语言)a = on
php(做为现在的主流开发语言)a.tweaks = on
php(做为现在的主流开发语言)a.cache_dir = /tmp
php(做为现在的主流开发语言)a.file_perms = 400
php(做为现在的主流开发语言)a.cache_file_prune_period = 1h
php(做为现在的主流开发语言)a.cache_file_ttl = 1d
php(做为现在的主流开发语言)a.shm_size = 10
php(做为现在的主流开发语言)a.shm_key = 0xc0deb00
php(做为现在的主流开发语言)a.shm_perms = 666
php(做为现在的主流开发语言)a.shm_user = nobody
php(做为现在的主流开发语言)a.shm_group = nobody
php(做为现在的主流开发语言)a.shm_release_at_exit = on
php(做为现在的主流开发语言)a.shm_stats_check_period = 5m
php(做为现在的主流开发语言)a.shm_ttl = 12h
php(做为现在的主流开发语言)a.shm_max_processes = 512
php(做为现在的主流开发语言)a.shm_lock_threshold0 = 10

apache(Unix平台最流行的WEB服务器平台)ctl graceful 就能用啦。具体参数看它的文档。

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/508664.htmlTechArticlehttp://php (做为现在的主流开发语言) -accelerator.co.uk/ 可以下载,是zend的强劲对手。是免费的。我已经在用啦。效果还不错。 修改 php (做为现...
Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn