<?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>Comments on: Perfect Setup: Ubuntu Hardy+Nginx+MySQL5+PHP5+Wordress</title>
	<atom:link href="http://www.mensk.com/webmaster-toolbox/perfect-ubuntu-hardy-nginx-mysql5-php5-wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mensk.com/webmaster-toolbox/perfect-ubuntu-hardy-nginx-mysql5-php5-wordpress/</link>
	<description>Life and Business - on Internet and Beyond</description>
	<lastBuildDate>Mon, 24 May 2010 09:54:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: Alex</title>
		<link>http://www.mensk.com/webmaster-toolbox/perfect-ubuntu-hardy-nginx-mysql5-php5-wordpress/comment-page-2/#comment-411</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Mon, 24 May 2010 09:54:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.mensk.com/?p=89#comment-411</guid>
		<description>With 10.04 Ubuntu you need to add one other step to this. Due to &quot;localhost&quot; now reffering to both 127.0.0.1 and ::1 php-fastcgi will die with the following:

&quot;Host &#039;localhost&#039; has multiple addresses. You must choose one explicitly!&quot;

Quickly open /etc/init.d/php-fastcgi and change
FCGI_HOST=localhost
to 
FCGI_HOST=127.0.0.1

Starting and restarting should now work without too many issues now.

Also, you should now use

sudo aptitude -y install libfcgi

instead of

sudo aptitude -y install libfcgi0</description>
		<content:encoded><![CDATA[<p>With 10.04 Ubuntu you need to add one other step to this. Due to &#8220;localhost&#8221; now reffering to both 127.0.0.1 and ::1 php-fastcgi will die with the following:</p>
<p>&#8220;Host &#8216;localhost&#8217; has multiple addresses. You must choose one explicitly!&#8221;</p>
<p>Quickly open /etc/init.d/php-fastcgi and change<br />
FCGI_HOST=localhost<br />
to<br />
FCGI_HOST=127.0.0.1</p>
<p>Starting and restarting should now work without too many issues now.</p>
<p>Also, you should now use</p>
<p>sudo aptitude -y install libfcgi</p>
<p>instead of</p>
<p>sudo aptitude -y install libfcgi0</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FrankieFilm</title>
		<link>http://www.mensk.com/webmaster-toolbox/perfect-ubuntu-hardy-nginx-mysql5-php5-wordpress/comment-page-2/#comment-403</link>
		<dc:creator>FrankieFilm</dc:creator>
		<pubDate>Thu, 29 Apr 2010 16:28:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.mensk.com/?p=89#comment-403</guid>
		<description>Долго, долго искал и вот оно... случайно наткнулся на Вашу изумительную статью</description>
		<content:encoded><![CDATA[<p>Долго, долго искал и вот оно&#8230; случайно наткнулся на Вашу изумительную статью</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vinod</title>
		<link>http://www.mensk.com/webmaster-toolbox/perfect-ubuntu-hardy-nginx-mysql5-php5-wordpress/comment-page-2/#comment-374</link>
		<dc:creator>Vinod</dc:creator>
		<pubDate>Mon, 30 Nov 2009 20:20:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.mensk.com/?p=89#comment-374</guid>
		<description>Thank you so much. I couldn&#039;t have moved my blog to nginx without this excellent article. Thanks again.</description>
		<content:encoded><![CDATA[<p>Thank you so much. I couldn&#8217;t have moved my blog to nginx without this excellent article. Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bentow</title>
		<link>http://www.mensk.com/webmaster-toolbox/perfect-ubuntu-hardy-nginx-mysql5-php5-wordpress/comment-page-2/#comment-367</link>
		<dc:creator>Bentow</dc:creator>
		<pubDate>Sat, 26 Sep 2009 15:45:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.mensk.com/?p=89#comment-367</guid>
		<description>You are the man.

Everything I&#039;ve needed.</description>
		<content:encoded><![CDATA[<p>You are the man.</p>
<p>Everything I&#8217;ve needed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shadow</title>
		<link>http://www.mensk.com/webmaster-toolbox/perfect-ubuntu-hardy-nginx-mysql5-php5-wordpress/comment-page-2/#comment-366</link>
		<dc:creator>shadow</dc:creator>
		<pubDate>Thu, 24 Sep 2009 19:34:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.mensk.com/?p=89#comment-366</guid>
		<description>Hello there, thanks for the wonderful guide. However, I need some help here.
Can&#039;t seem to get it to point to wordpress install. 
It keeps going to the Welcome to Nginx page instead of the wordpress install.
Any clue why?</description>
		<content:encoded><![CDATA[<p>Hello there, thanks for the wonderful guide. However, I need some help here.<br />
Can&#8217;t seem to get it to point to wordpress install.<br />
It keeps going to the Welcome to Nginx page instead of the wordpress install.<br />
Any clue why?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brutus</title>
		<link>http://www.mensk.com/webmaster-toolbox/perfect-ubuntu-hardy-nginx-mysql5-php5-wordpress/comment-page-2/#comment-364</link>
		<dc:creator>brutus</dc:creator>
		<pubDate>Thu, 10 Sep 2009 12:40:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.mensk.com/?p=89#comment-364</guid>
		<description>Hi there , 

Having a problem that is quite literally driving me mad, and I&#039;ve found nothing out there that has solved my problem. Its quite simple really, I just need to change my php.ini settings for my MAX_UPLOAD_SETTINGS, currently set to 2M. When I change the value in /etc/php5/cgi/php.ini it quite simply doesnt take effect. Restarting nginx does nothing. Any ideas folks ??

Brutus</description>
		<content:encoded><![CDATA[<p>Hi there , </p>
<p>Having a problem that is quite literally driving me mad, and I&#8217;ve found nothing out there that has solved my problem. Its quite simple really, I just need to change my php.ini settings for my MAX_UPLOAD_SETTINGS, currently set to 2M. When I change the value in /etc/php5/cgi/php.ini it quite simply doesnt take effect. Restarting nginx does nothing. Any ideas folks ??</p>
<p>Brutus</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: OJ</title>
		<link>http://www.mensk.com/webmaster-toolbox/perfect-ubuntu-hardy-nginx-mysql5-php5-wordpress/comment-page-2/#comment-363</link>
		<dc:creator>OJ</dc:creator>
		<pubDate>Thu, 10 Sep 2009 04:20:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.mensk.com/?p=89#comment-363</guid>
		<description>Hi there,

Thanks for your tutorial. It has been very helpful.

One thing that I would like to point out, after chatting to the helpful guys in #nginx on freenode is that there&#039;s a slight inefficiency in one of your examples:

rewrite ^/(.*) http://www.mydomain.com/$1 permanent;

This uses an unnecessary match/extract regex. Nginx already pulls the URL apart, and hence it&#039;s already accessible directly via a variable. The above line should be changed to:

rewrite ^ http://www.mydomain.com$request_uri permanent;

Hope that helps people squeeze that extra bit of perf out of nginx.
Cheers
OJ</description>
		<content:encoded><![CDATA[<p>Hi there,</p>
<p>Thanks for your tutorial. It has been very helpful.</p>
<p>One thing that I would like to point out, after chatting to the helpful guys in #nginx on freenode is that there&#8217;s a slight inefficiency in one of your examples:</p>
<p>rewrite ^/(.*) <a href="http://www.mydomain.com/$1" rel="nofollow">http://www.mydomain.com/$1</a> permanent;</p>
<p>This uses an unnecessary match/extract regex. Nginx already pulls the URL apart, and hence it&#8217;s already accessible directly via a variable. The above line should be changed to:</p>
<p>rewrite ^ <a href="http://www.mydomain.com$request_uri" rel="nofollow">http://www.mydomain.com$request_uri</a> permanent;</p>
<p>Hope that helps people squeeze that extra bit of perf out of nginx.<br />
Cheers<br />
OJ</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vito Botta</title>
		<link>http://www.mensk.com/webmaster-toolbox/perfect-ubuntu-hardy-nginx-mysql5-php5-wordpress/comment-page-2/#comment-355</link>
		<dc:creator>Vito Botta</dc:creator>
		<pubDate>Wed, 22 Jul 2009 11:20:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.mensk.com/?p=89#comment-355</guid>
		<description>I have a similar configuration, but I am having an issue with PHP-FPM (which is why I found this post by googling).
For some reasons, after a reboot or after manually start PHP-FPM, the website syays up for a while but then dies after some time of inactivity.

Now I am testing with this init.d script you have posted, and  have removed the &quot;:&quot; at the end of the script as suggested by boni. A big thank you to you and boni if this works! :)

One thing that I am not sure is, this doesn&#039;t use PHP-FPM, does it? How does it exactly work and, in case it doesn&#039;t use the PHP-FPM patch, are there any differences in performance?

Thanks!</description>
		<content:encoded><![CDATA[<p>I have a similar configuration, but I am having an issue with PHP-FPM (which is why I found this post by googling).<br />
For some reasons, after a reboot or after manually start PHP-FPM, the website syays up for a while but then dies after some time of inactivity.</p>
<p>Now I am testing with this init.d script you have posted, and  have removed the &#8220;:&#8221; at the end of the script as suggested by boni. A big thank you to you and boni if this works! <img src='http://www.mensk.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>One thing that I am not sure is, this doesn&#8217;t use PHP-FPM, does it? How does it exactly work and, in case it doesn&#8217;t use the PHP-FPM patch, are there any differences in performance?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Millarian &#124; Switching to Wordpress</title>
		<link>http://www.mensk.com/webmaster-toolbox/perfect-ubuntu-hardy-nginx-mysql5-php5-wordpress/comment-page-2/#comment-353</link>
		<dc:creator>Millarian &#124; Switching to Wordpress</dc:creator>
		<pubDate>Fri, 10 Jul 2009 01:25:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.mensk.com/?p=89#comment-353</guid>
		<description>[...] Wordpress on Ubuntu, Nginx and MySQL [...]</description>
		<content:encoded><![CDATA[<p>[...] WordPress on Ubuntu, Nginx and MySQL [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke</title>
		<link>http://www.mensk.com/webmaster-toolbox/perfect-ubuntu-hardy-nginx-mysql5-php5-wordpress/comment-page-2/#comment-350</link>
		<dc:creator>Luke</dc:creator>
		<pubDate>Sat, 04 Jul 2009 20:28:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.mensk.com/?p=89#comment-350</guid>
		<description>Sorry to flood this place with comments, but I think I&#039;m close to figuring it out.  I exectued each line in the file you provide by doing &#039;iptables ***&#039; at the command line.  Each command has worked fine up to this one:
$ iptables -A INPUT -m limit --limit 5/min -j LOG --log-prefix &quot;iptables denied: &quot; --log-level 7

iptables: No chain/target/match by that name

Any ideas what this means / what to do next?

Thanks,
~Luke</description>
		<content:encoded><![CDATA[<p>Sorry to flood this place with comments, but I think I&#8217;m close to figuring it out.  I exectued each line in the file you provide by doing &#8216;iptables ***&#8217; at the command line.  Each command has worked fine up to this one:<br />
$ iptables -A INPUT -m limit &#8211;limit 5/min -j LOG &#8211;log-prefix &#8220;iptables denied: &#8221; &#8211;log-level 7</p>
<p>iptables: No chain/target/match by that name</p>
<p>Any ideas what this means / what to do next?</p>
<p>Thanks,<br />
~Luke</p>
]]></content:encoded>
	</item>
</channel>
</rss>

