<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Commenti a: Nginx + PHP + PHP-FPM on Debian Etch 4.0</title>
	<atom:link href="http://www.yawn.it/2008/04/30/nginx-php-php-fpm-on-debian-etch-40/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yawn.it/2008/04/30/nginx-php-php-fpm-on-debian-etch-40/</link>
	<description>Failure to plan is planning to fail.</description>
	<lastBuildDate>Tue, 23 Mar 2010 10:23:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>Di: Gianluca</title>
		<link>http://www.yawn.it/2008/04/30/nginx-php-php-fpm-on-debian-etch-40/comment-page-1/#comment-293</link>
		<dc:creator>Gianluca</dc:creator>
		<pubDate>Mon, 01 Jun 2009 08:30:28 +0000</pubDate>
		<guid isPermaLink="false">http://sonno.wordpress.com/?p=214#comment-293</guid>
		<description>Just a quick note on the &quot;benchmarking method&quot;, as someone contacted me to ask for further information on the performance improvement switching from apache+mod_php to nginx + php_fpm.

This was a http-perf benchmark based on my own website, of course &quot;req/sec&quot; is NOT THE SAME as &quot;page views / sec&quot;.

Aside that your mileage may vary, my improvement results could not be repeatable for some simple reasons:
1) you could be running some other processes on your vps (imap server, antispam daemon) that i don&#039;t run,
2) your wordpress php codebase could be different (dozen of plugins require more time to be processed by the php interpreter than a simple blog like mine),
3) your mysql server could be poorly tuned,
4) your mysql server could be way more loaded, because you run a lot of addictional plugin, you display a lot of stuff in the home page, and so on, so wordpress does 90 sql queries rather than 15 or 20 to generate each page. This would make a big difference not dependent on the web server and php engine.

So, while nginx+php-fpm are in my opinion faster in any case, of course the real, final performance improvement of your website as a whole may not be the same that i experienced if the bottle-neck is elsewhere (for example in the mysql server, or in the bad coding of a plugin).</description>
		<content:encoded><![CDATA[<p>Just a quick note on the &#8220;benchmarking method&#8221;, as someone contacted me to ask for further information on the performance improvement switching from apache+mod_php to nginx + php_fpm.</p>
<p>This was a http-perf benchmark based on my own website, of course &#8220;req/sec&#8221; is NOT THE SAME as &#8220;page views / sec&#8221;.</p>
<p>Aside that your mileage may vary, my improvement results could not be repeatable for some simple reasons:<br />
1) you could be running some other processes on your vps (imap server, antispam daemon) that i don&#8217;t run,<br />
2) your wordpress php codebase could be different (dozen of plugins require more time to be processed by the php interpreter than a simple blog like mine),<br />
3) your mysql server could be poorly tuned,<br />
4) your mysql server could be way more loaded, because you run a lot of addictional plugin, you display a lot of stuff in the home page, and so on, so wordpress does 90 sql queries rather than 15 or 20 to generate each page. This would make a big difference not dependent on the web server and php engine.</p>
<p>So, while nginx+php-fpm are in my opinion faster in any case, of course the real, final performance improvement of your website as a whole may not be the same that i experienced if the bottle-neck is elsewhere (for example in the mysql server, or in the bad coding of a plugin).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: fujishinko 雑記帳</title>
		<link>http://www.yawn.it/2008/04/30/nginx-php-php-fpm-on-debian-etch-40/comment-page-1/#comment-237</link>
		<dc:creator>fujishinko 雑記帳</dc:creator>
		<pubDate>Wed, 21 Jan 2009 03:47:46 +0000</pubDate>
		<guid isPermaLink="false">http://sonno.wordpress.com/?p=214#comment-237</guid>
		<description>&lt;strong&gt;CentOS5.2にnginx + php-fpm(PHP FastCGI Process Ma......&lt;/strong&gt;

nginxのことについて調べていると、たまたま
Nginx + PHP + PHP-FPM on Debian Etch 4.0
というエントリーを見つけました。


早速CentOSで試してみます。

MySQLは使いたいので、インストール


yu...</description>
		<content:encoded><![CDATA[<p><strong>CentOS5.2にnginx + php-fpm(PHP FastCGI Process Ma&#8230;&#8230;</strong></p>
<p>nginxのことについて調べていると、たまたま<br />
Nginx + PHP + PHP-FPM on Debian Etch 4.0<br />
というエントリーを見つけました。</p>
<p>早速CentOSで試してみます。</p>
<p>MySQLは使いたいので、インストール</p>
<p>yu&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: Debian Etch PHP-FPM Nginx Xcache MySql &#171; Hone Watson Bookmarks</title>
		<link>http://www.yawn.it/2008/04/30/nginx-php-php-fpm-on-debian-etch-40/comment-page-1/#comment-216</link>
		<dc:creator>Debian Etch PHP-FPM Nginx Xcache MySql &#171; Hone Watson Bookmarks</dc:creator>
		<pubDate>Fri, 28 Nov 2008 00:22:49 +0000</pubDate>
		<guid isPermaLink="false">http://sonno.wordpress.com/?p=214#comment-216</guid>
		<description>[...] This set up interestingly serves around three times more requests per second than apache2 mod_php xcache.Nginx PHP-FPM Xcache Debian Etch. [...]</description>
		<content:encoded><![CDATA[<p>[...] This set up interestingly serves around three times more requests per second than apache2 mod_php xcache.Nginx PHP-FPM Xcache Debian Etch. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: Darvil&#8217;s World &#187; Blog Archive &#187; Video site for sarnworld - Part 2 (Setting up Nginx with SM Script)</title>
		<link>http://www.yawn.it/2008/04/30/nginx-php-php-fpm-on-debian-etch-40/comment-page-1/#comment-209</link>
		<dc:creator>Darvil&#8217;s World &#187; Blog Archive &#187; Video site for sarnworld - Part 2 (Setting up Nginx with SM Script)</dc:creator>
		<pubDate>Sat, 18 Oct 2008 10:29:41 +0000</pubDate>
		<guid isPermaLink="false">http://sonno.wordpress.com/?p=214#comment-209</guid>
		<description>[...] large part of this post is compromised of this tutorial I found on the web on nginx. Really well written and modified a little by me for [...]</description>
		<content:encoded><![CDATA[<p>[...] large part of this post is compromised of this tutorial I found on the web on nginx. Really well written and modified a little by me for [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: Johnny</title>
		<link>http://www.yawn.it/2008/04/30/nginx-php-php-fpm-on-debian-etch-40/comment-page-1/#comment-174</link>
		<dc:creator>Johnny</dc:creator>
		<pubDate>Wed, 16 Jul 2008 20:49:12 +0000</pubDate>
		<guid isPermaLink="false">http://sonno.wordpress.com/?p=214#comment-174</guid>
		<description>Carlo this entry has been written in English - despite the blog main language - just to reach a broader audience, so I&#039;d appreciate to keep comments in that language as well in order to make them useful for everyone stopping by.

Coming to the question, the walktrough has been written and tested in Debian 4.0 etch, but most part will work on any *nix system as the main software (nginx+ php-fpm + php) will be compiled from sources.

I have infact successfully deployed nginx systems following these guide lines on several platforms (debian, ubuntu, centos, freebsd, sun solaris).

The only part where this tutorial is distribution-dependent is where I install the needed libraries from binary packages at the beginning (the &#039;aptitude install&#039; part).

Specifically, as Ubuntu 8.04 LTS is completely Debian based this should work seamlessly following the tutorial, you just may need to change the name of some libraries according to the package names (i.e.: libjpeg-dev and libpng-dev have a different name in Ubuntu). Apt will suggest you an alternative, anyway.

Of course - despite the tutorial being really step by step - you need a decent experience in linux system administration to implement this solution and you need at least to know how to use VI or a similar text editor, this goes without saying!</description>
		<content:encoded><![CDATA[<p>Carlo this entry has been written in English &#8211; despite the blog main language &#8211; just to reach a broader audience, so I&#8217;d appreciate to keep comments in that language as well in order to make them useful for everyone stopping by.</p>
<p>Coming to the question, the walktrough has been written and tested in Debian 4.0 etch, but most part will work on any *nix system as the main software (nginx+ php-fpm + php) will be compiled from sources.</p>
<p>I have infact successfully deployed nginx systems following these guide lines on several platforms (debian, ubuntu, centos, freebsd, sun solaris).</p>
<p>The only part where this tutorial is distribution-dependent is where I install the needed libraries from binary packages at the beginning (the &#8216;aptitude install&#8217; part).</p>
<p>Specifically, as Ubuntu 8.04 LTS is completely Debian based this should work seamlessly following the tutorial, you just may need to change the name of some libraries according to the package names (i.e.: libjpeg-dev and libpng-dev have a different name in Ubuntu). Apt will suggest you an alternative, anyway.</p>
<p>Of course &#8211; despite the tutorial being really step by step &#8211; you need a decent experience in linux system administration to implement this solution and you need at least to know how to use VI or a similar text editor, this goes without saying!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: Carlo</title>
		<link>http://www.yawn.it/2008/04/30/nginx-php-php-fpm-on-debian-etch-40/comment-page-1/#comment-173</link>
		<dc:creator>Carlo</dc:creator>
		<pubDate>Wed, 16 Jul 2008 20:25:57 +0000</pubDate>
		<guid isPermaLink="false">http://sonno.wordpress.com/?p=214#comment-173</guid>
		<description>Hi,
I don&#039;t know if I have to speak english ... anyway ... Do you think it&#039;s a good guide for Hardy 8.04.1 ? Or it&#039;s 7.10 native ?
And ... can I use it as is for Ubuntu Hardy 8.04.1 ?

Thanks

Carlo</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I don&#8217;t know if I have to speak english &#8230; anyway &#8230; Do you think it&#8217;s a good guide for Hardy 8.04.1 ? Or it&#8217;s 7.10 native ?<br />
And &#8230; can I use it as is for Ubuntu Hardy 8.04.1 ?</p>
<p>Thanks</p>
<p>Carlo</p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: Johnny</title>
		<link>http://www.yawn.it/2008/04/30/nginx-php-php-fpm-on-debian-etch-40/comment-page-1/#comment-92</link>
		<dc:creator>Johnny</dc:creator>
		<pubDate>Fri, 23 May 2008 07:20:16 +0000</pubDate>
		<guid isPermaLink="false">http://sonno.wordpress.com/?p=214#comment-92</guid>
		<description>Addendum: Don&#039;t forget to rotate logs, so you can process and delete them.

#vi /etc/logrotate.d/nginx

/usr/local/nginx/logs/*.log {
        daily
        missingok
        rotate 9
        compress
        delaycompress
        notifempty
        postrotate
                kill -USR1 `cat /usr/local/nginx/logs/nginx.pid`
        endscript
}</description>
		<content:encoded><![CDATA[<p>Addendum: Don&#8217;t forget to rotate logs, so you can process and delete them.</p>
<p>#vi /etc/logrotate.d/nginx</p>
<p>/usr/local/nginx/logs/*.log {<br />
        daily<br />
        missingok<br />
        rotate 9<br />
        compress<br />
        delaycompress<br />
        notifempty<br />
        postrotate<br />
                kill -USR1 `cat /usr/local/nginx/logs/nginx.pid`<br />
        endscript<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
