<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Route of Queue &#187; zip file</title>
	<atom:link href="http://www.routeofqueue.com/tag/zip-file/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.routeofqueue.com</link>
	<description>I have issues</description>
	<lastBuildDate>Sun, 30 May 2010 11:18:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>WordPress 2.8 automatic upgrade fails</title>
		<link>http://www.routeofqueue.com/2009/07/wordpress-2-8-automatic-upgrade-fails/</link>
		<comments>http://www.routeofqueue.com/2009/07/wordpress-2-8-automatic-upgrade-fails/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 18:17:11 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Hints and Tips]]></category>
		<category><![CDATA[AddType]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[content folder]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[Files]]></category>
		<category><![CDATA[ftp client]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[zip file]]></category>

		<guid isPermaLink="false">http://www.routeofqueue.com/?p=68</guid>
		<description><![CDATA[I&#8217;ve been trying to update my wordpress blogs from various versions like 2.5 and 2.7 to the newest 2.8 for a while now, but was never able to do it automatically. Every time I pressed the &#8220;upgrade automatically&#8221; button, it told me it was downloading the latest file from WordPress, but it never got any [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been trying to update my wordpress blogs from various versions like 2.5 and 2.7 to the newest 2.8 for a while now, but was never able to do it automatically.</p>
<p>Every time I pressed the &#8220;upgrade automatically&#8221; button, it told me it was downloading the latest file from WordPress, but it never got any further than that. I logged in to my site using my FTP client and found a 0KB sized file called wordpress2.8.zip in the wp_content folder, so I thought I&#8217;d found the issue &#8211; maybe the script can&#8217;t actually download the file and save it to disk because of permissions. I chmodded the file and then the folder to allow write access, but no joy.</p>
<p>Of course, I could have just downloaded the latest install from wordpress and done a manual upgrade, but there&#8217;s about 8 million files in the zip file and I didn&#8217;t want to have to upload that to 5 different sites! ;)</p>
<p>After a bit of research, it turns out that the problem is that the auto-upgrade script requires PHP5 to run, and as my sites are hosted on 1and1 servers which default to php4, the script was failing!</p>
<p>So if you&#8217;re having the same issue, <strong>all you need to do is make sure your wordpress is running on PHP5 instead of 4!</strong> If you&#8217;re on a shared server and you can&#8217;t change the server&#8217;s config, you can still tell apache to run your scripts as PHP5 rather than 4 by adding the following line to your .htaccess:</p>

<div class="wp_syntax"><div class="code"><pre class="apache" style="font-family:monospace;"><span style="color: #00007f;">AddType</span> x-mapp-php5 .php</pre></div></div>

<p>All that does is tells apache to to parse all .php files with the PHP5 parser rather than whatever the server&#8217;s default is! So just throw that in the .htaccess you find in the root of your site &#8211; put it just after the &#8220;# END WordPress&#8221; line &#8211; save it, upload it and try doing the upgrade again &#8211; it worked first time for me! :)</p>
<p>If you&#8217;re still having trouble after that, or you&#8217;ve got a different solution, please post a comment here and let others know!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.routeofqueue.com/2009/07/wordpress-2-8-automatic-upgrade-fails/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

