<?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"
	>
<channel>
	<title>Comments on: Wordpress, Pair.com hosting, and php-cgiwrap</title>
	<atom:link href="http://underscorebleach.net/jotsheet/2006/10/wordpress-pair-php-cgiwrap/feed" rel="self" type="application/rss+xml" />
	<link>http://underscorebleach.net/jotsheet/2006/10/wordpress-pair-php-cgiwrap</link>
	<description>I'm pretty good at wasting your time.  By Tom Sherman.</description>
	<pubDate>Fri, 30 Jul 2010 04:12:22 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Muddauber</title>
		<link>http://underscorebleach.net/jotsheet/2006/10/wordpress-pair-php-cgiwrap#comment-318106</link>
		<dc:creator>Muddauber</dc:creator>
		<pubDate>Thu, 05 Jun 2008 22:12:50 +0000</pubDate>
		<guid isPermaLink="false">http://underscorebleach.net/jotsheet/2006/10/wordpress-pair-php-cgiwrap#comment-318106</guid>
		<description>I've been having a problem with cgiwrap an d other issues with PAIR. When I try to upload images with Joomla, I get a 600 permission instead of a 644, creating a FORBIDDEN message. 
Any insight into that?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been having a problem with cgiwrap an d other issues with PAIR. When I try to upload images with Joomla, I get a 600 permission instead of a 644, creating a FORBIDDEN message.<br />
Any insight into that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allan</title>
		<link>http://underscorebleach.net/jotsheet/2006/10/wordpress-pair-php-cgiwrap#comment-227102</link>
		<dc:creator>Allan</dc:creator>
		<pubDate>Mon, 16 Jul 2007 18:21:27 +0000</pubDate>
		<guid isPermaLink="false">http://underscorebleach.net/jotsheet/2006/10/wordpress-pair-php-cgiwrap#comment-227102</guid>
		<description>The following morning, with some prompt support from pair, I was able to get my site working again.  

It turns out the new release is incompatible with the old cgiwrap, which I recall installing into my local cgi directory directly from pair.com itself.  

The support tech replaced this with new one on my behalf.  I asked the tech why they didn't upgrade my cgiwrap binary themselves as part of the upgrade process.  He replied (in my words) "we don't know who might have recompiled things, so we don't upgrade binaries in user space willy nilly".  

So far as I recall, my cgiwrap binary is byte for byte identical to the no-longer-viable file commended by pair for the old release under 4.8.   In my view, they didn't look very hard to find and replace--or even notify--affected customers.  

-rwxr-xr-x  1 foo users 5797628 Jul 16 09:32 php5.cgi
-rwxr-xr-x  1 foo users 5554920 Nov  3  2006 php5.cgi-FreeBSD48

I'm fairly certain I just copied this from /usr/www/cgi-bin/php5.cgi as the pair support site recommends.  I certainly didn't put myself up to compiling this by hand.  

If anyone else wants to check if they had the same outdated official pair version:  

MD5 (php5.cgi-FreeBSD48) = 0f367029cf066626dc83a78695758f00

Note I just discovered I was a full security update behind the most recent version of this file on the old 4.8 platform.  

From the current http://www.pair.com/support/notices/62-upgrade.html
&#60;&#60;&#60;
If you need to continue using PHP 4 for your applications, it is available as a CGI program. You can follow these instructions ahead of time to switch over to using PHP 4 via CGI:
...
      Action application/x-pair-php4 /cgi-sys/php4.cgi
      AddType application/x-pair-php4 .php 

If you have previously been using this technique to run PHP 5 as a CGI, you will be able to remove those lines from .htaccess and begin using the Apache module.
&#62;&#62;&#62;

The upgrade notice doesn't point out that if you have set up your site security under account context (chmod -R ~/public_html o-rwx) this change won't work.  It doesn't point out that you can continue to use CGI to serve php5, but *only* if you upgrade your php5.cgi.  

At this point, my top level Mediawiki is working again, but none of my mod_rewrite virtual hosts are working.  

Turns out the new release was incompatible with one of my existing mod_rewrite rules.  

This was not especially easy to diagnose under pressure.  You can't activate the mod_rewrite log facility on the custom pair installation.  In a message you can only view from the Account Center:  

[Mon Jul 16 11:50:52 2007] [alert] 
/usr/www/users/foo/.htaccess: RewriteLogLevel not allowed here
[Mon Jul 16 11:49:39 2007] [alert]
/usr/www/users/foo/.htaccess: RewriteLog not allowed here

A frantic bout of commenting out different random fragments of mod_rewrite rules in my .htaccess file determined that one of my existing rewrite rules no longer works the same way, but instead leads to the deadly "no input specified" error for the site involved.  

I love the stability and security and support I get from pair, but I'm consistently less enthusiastic about their ability and willingness to communicate vital restrictions or requirements up front.  Their 6.2-upgrade document is a terse smattering of tidbits.   

I filled out a customer response survey from pair at some point in the last year, and I pointedly said exactly that.  

It's a lesson they still need to learn.  I don't understand it from a business perspective either, because up front communication is far less expensive than one-on-one support tickets.  

At the end of the day I do have my site working again, and I have a strong preference to stick with the devil I know, and this probably won't come around again until FreeBSD 9.3   But why the four hours of extraterrestrial fire drill?  It makes no sense.</description>
		<content:encoded><![CDATA[<p>The following morning, with some prompt support from pair, I was able to get my site working again.  </p>
<p>It turns out the new release is incompatible with the old cgiwrap, which I recall installing into my local cgi directory directly from pair.com itself.  </p>
<p>The support tech replaced this with new one on my behalf.  I asked the tech why they didn&#8217;t upgrade my cgiwrap binary themselves as part of the upgrade process.  He replied (in my words) &#8220;we don&#8217;t know who might have recompiled things, so we don&#8217;t upgrade binaries in user space willy nilly&#8221;.  </p>
<p>So far as I recall, my cgiwrap binary is byte for byte identical to the no-longer-viable file commended by pair for the old release under 4.8.   In my view, they didn&#8217;t look very hard to find and replace&#8211;or even notify&#8211;affected customers.  </p>
<p>-rwxr-xr-x  1 foo users 5797628 Jul 16 09:32 php5.cgi<br />
-rwxr-xr-x  1 foo users 5554920 Nov  3  2006 php5.cgi-FreeBSD48</p>
<p>I&#8217;m fairly certain I just copied this from /usr/www/cgi-bin/php5.cgi as the pair support site recommends.  I certainly didn&#8217;t put myself up to compiling this by hand.  </p>
<p>If anyone else wants to check if they had the same outdated official pair version:  </p>
<p>MD5 (php5.cgi-FreeBSD48) = 0f367029cf066626dc83a78695758f00</p>
<p>Note I just discovered I was a full security update behind the most recent version of this file on the old 4.8 platform.  </p>
<p>From the current <a href="http://www.pair.com/support/notices/62-upgrade.html" rel="nofollow">http://www.pair.com/support/notices/62-upgrade.html</a><br />
&lt;&lt;&lt;<br />
If you need to continue using PHP 4 for your applications, it is available as a CGI program. You can follow these instructions ahead of time to switch over to using PHP 4 via CGI:<br />
&#8230;<br />
      Action application/x-pair-php4 /cgi-sys/php4.cgi<br />
      AddType application/x-pair-php4 .php </p>
<p>If you have previously been using this technique to run PHP 5 as a CGI, you will be able to remove those lines from .htaccess and begin using the Apache module.<br />
&gt;&gt;&gt;</p>
<p>The upgrade notice doesn&#8217;t point out that if you have set up your site security under account context (chmod -R ~/public_html o-rwx) this change won&#8217;t work.  It doesn&#8217;t point out that you can continue to use CGI to serve php5, but *only* if you upgrade your php5.cgi.  </p>
<p>At this point, my top level Mediawiki is working again, but none of my mod_rewrite virtual hosts are working.  </p>
<p>Turns out the new release was incompatible with one of my existing mod_rewrite rules.  </p>
<p>This was not especially easy to diagnose under pressure.  You can&#8217;t activate the mod_rewrite log facility on the custom pair installation.  In a message you can only view from the Account Center:  </p>
<p>[Mon Jul 16 11:50:52 2007] [alert]<br />
/usr/www/users/foo/.htaccess: RewriteLogLevel not allowed here<br />
[Mon Jul 16 11:49:39 2007] [alert]<br />
/usr/www/users/foo/.htaccess: RewriteLog not allowed here</p>
<p>A frantic bout of commenting out different random fragments of mod_rewrite rules in my .htaccess file determined that one of my existing rewrite rules no longer works the same way, but instead leads to the deadly &#8220;no input specified&#8221; error for the site involved.  </p>
<p>I love the stability and security and support I get from pair, but I&#8217;m consistently less enthusiastic about their ability and willingness to communicate vital restrictions or requirements up front.  Their 6.2-upgrade document is a terse smattering of tidbits.   </p>
<p>I filled out a customer response survey from pair at some point in the last year, and I pointedly said exactly that.  </p>
<p>It&#8217;s a lesson they still need to learn.  I don&#8217;t understand it from a business perspective either, because up front communication is far less expensive than one-on-one support tickets.  </p>
<p>At the end of the day I do have my site working again, and I have a strong preference to stick with the devil I know, and this probably won&#8217;t come around again until FreeBSD 9.3   But why the four hours of extraterrestrial fire drill?  It makes no sense.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allan</title>
		<link>http://underscorebleach.net/jotsheet/2006/10/wordpress-pair-php-cgiwrap#comment-226516</link>
		<dc:creator>Allan</dc:creator>
		<pubDate>Mon, 16 Jul 2007 04:11:13 +0000</pubDate>
		<guid isPermaLink="false">http://underscorebleach.net/jotsheet/2006/10/wordpress-pair-php-cgiwrap#comment-226516</guid>
		<description>I had a memory problem running MediaWiki on pair under cgiwrap.  I put in a support ticket, and my account was granted 32MB for the oomkiller, no questions asked.   

Last week while on vacation, all my MediaWiki sites became inoperative.  This appears to correspond to the recent FreeBSD 6.2 upgrade (phpinfo now reports the OS as 6.2), which has mucked up the way I employed cgiwrap from within .htaccess.  Still searching for a solution on my own before I put in another support ticket.</description>
		<content:encoded><![CDATA[<p>I had a memory problem running MediaWiki on pair under cgiwrap.  I put in a support ticket, and my account was granted 32MB for the oomkiller, no questions asked.   </p>
<p>Last week while on vacation, all my MediaWiki sites became inoperative.  This appears to correspond to the recent FreeBSD 6.2 upgrade (phpinfo now reports the OS as 6.2), which has mucked up the way I employed cgiwrap from within .htaccess.  Still searching for a solution on my own before I put in another support ticket.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Sherman</title>
		<link>http://underscorebleach.net/jotsheet/2006/10/wordpress-pair-php-cgiwrap#comment-93230</link>
		<dc:creator>Tom Sherman</dc:creator>
		<pubDate>Tue, 20 Feb 2007 23:58:48 +0000</pubDate>
		<guid isPermaLink="false">http://underscorebleach.net/jotsheet/2006/10/wordpress-pair-php-cgiwrap#comment-93230</guid>
		<description>I am running 2.0.4 at the moment, so I can't test it under php-cgiwrap.

Unfortunately I have no experience with hosts besides Dreamhost and Pair.  I much prefer Pair, of course.  It was so hard to find a decent host that I'm living with having some directories world-writable :(</description>
		<content:encoded><![CDATA[<p>I am running 2.0.4 at the moment, so I can&#8217;t test it under php-cgiwrap.</p>
<p>Unfortunately I have no experience with hosts besides Dreamhost and Pair.  I much prefer Pair, of course.  It was so hard to find a decent host that I&#8217;m living with having some directories world-writable :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carter</title>
		<link>http://underscorebleach.net/jotsheet/2006/10/wordpress-pair-php-cgiwrap#comment-93096</link>
		<dc:creator>Carter</dc:creator>
		<pubDate>Tue, 20 Feb 2007 19:07:02 +0000</pubDate>
		<guid isPermaLink="false">http://underscorebleach.net/jotsheet/2006/10/wordpress-pair-php-cgiwrap#comment-93096</guid>
		<description>I have a couple WP sites running on Pair shared hosting and have run into exactly the same issues. I have a site running WP 2.0.7 under php-cgiwrap, with WP-Cache, and I get the crap out "Internal Server Error" message a few times per 100 requests, more often on the admin side. I have another site on another account (i.e. different server) that's set up the same but runs WP 2.1. It seems better and I rarely get an error. I don't know if it's WP that's better or I'm just on a different server with less load issues. I noticed that the queries were audited and updated for improved efficiency for WP 2.1, but I don't know if that's the difference.

Questions:

1. Have you had any experience running WP 2.1 at Pair? Under php-cgiwrap? If so, could you share your observations?

2. Do you know of a host with the  WP application-running-as-user security model, plus the PHP-running-as-Apache-module performance?</description>
		<content:encoded><![CDATA[<p>I have a couple WP sites running on Pair shared hosting and have run into exactly the same issues. I have a site running WP 2.0.7 under php-cgiwrap, with WP-Cache, and I get the crap out &#8220;Internal Server Error&#8221; message a few times per 100 requests, more often on the admin side. I have another site on another account (i.e. different server) that&#8217;s set up the same but runs WP 2.1. It seems better and I rarely get an error. I don&#8217;t know if it&#8217;s WP that&#8217;s better or I&#8217;m just on a different server with less load issues. I noticed that the queries were audited and updated for improved efficiency for WP 2.1, but I don&#8217;t know if that&#8217;s the difference.</p>
<p>Questions:</p>
<p>1. Have you had any experience running WP 2.1 at Pair? Under php-cgiwrap? If so, could you share your observations?</p>
<p>2. Do you know of a host with the  WP application-running-as-user security model, plus the PHP-running-as-Apache-module performance?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
