2014年3月17日

nginx php-fpm安装配置

摘要: 原文出处:http://www.nginx.cn/231.htmlnginx本身不能处理PHP,它只是个web服务器,当接收到请求后,如果是php请求,则发给php解释器处理,并把结果返回给客户端。nginx一般是把请求发fastcgi管理进程处理,fascgi管理进程选择cgi子进程处理结果并返回被nginx本文以php-fpm为例介绍如何使nginx支持PHP一、编译安装php-fpm什么是PHP-FPMPHP-FPM是一个PHP FastCGI管理器,是只用于PHP的,可以在 http://php-fpm.org/download下载得到.PHP-FPM其实是PHP源代码的一个补丁,旨在 阅读全文

posted @ 2014-03-17 01:18 argb 阅读(10582) 评论(0) 推荐(0) 编辑

PHP: APC Configuration and Usage Tips and Tricks

摘要: 原文链接:http://www.if-not-true-then-false.com/2012/php-apc-configuration-and-usage-tips-and-tricks/3/This PHP APC guide is divided on four different section:1. PHP APC Configuration2. Enable PHP APC Statistics3. Howto Use PHP APC User Cache4. PHP APC Performance Testing3. Howto Use PHP APC User Cache E 阅读全文

posted @ 2014-03-17 01:15 argb 阅读(272) 评论(0) 推荐(0) 编辑

Nginx and PHP-FPM Configuration and Optimizing Tips and Tricks

摘要: 原文链接:http://www.if-not-true-then-false.com/2011/nginx-and-php-fpm-configuration-and-optimizing-tips-and-tricks/I wrote before a guideHowto install Nginx/PHP-FPM on Fedora 20/19, CentOS/RHEL 6.5/5.10, but this guide is just installation guide and many cases Nginx and PHP-FPM basic configuration is go 阅读全文

posted @ 2014-03-17 01:08 argb 阅读(739) 评论(0) 推荐(0) 编辑

php-fpm 启动参数及重要配置详解

摘要: 约定几个目录/usr/local/php/sbin/php-fpm/usr/local/php/etc/php-fpm.conf/usr/local/php/etc/php.ini一,php-fpm的启动参数12345678910111213#测试php-fpm配置/usr/local/php/sbin/php-fpm -t/usr/local/php/sbin/php-fpm -c /usr/local/php/etc/php.ini -y /usr/local/php/etc/php-fpm.conf -t#启动php-fpm/usr/local/php/sbin/php-fpm/usr/ 阅读全文

posted @ 2014-03-17 01:07 argb 阅读(83719) 评论(6) 推荐(6) 编辑

导航