<?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: Downgrade PHP 5.3 to 5.2</title>
	<atom:link href="http://dustyreagan.com/downgrade-php-5-3-to-5-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://dustyreagan.com/downgrade-php-5-3-to-5-2/</link>
	<description>On Technology &#38; Entrepreneurship</description>
	<lastBuildDate>Sat, 28 Jan 2012 10:10:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: David</title>
		<link>http://dustyreagan.com/downgrade-php-5-3-to-5-2/comment-page-1/#comment-2553</link>
		<dc:creator>David</dc:creator>
		<pubDate>Sun, 17 Jul 2011 04:38:37 +0000</pubDate>
		<guid isPermaLink="false">http://dustyreagan.com/?p=195#comment-2553</guid>
		<description>is there easy way to downgrade from php5.3 to 5.2 ? 
I just upgrade to 5.3, and all my stuff are screwed now..</description>
		<content:encoded><![CDATA[<p>is there easy way to downgrade from php5.3 to 5.2 ?<br />
I just upgrade to 5.3, and all my stuff are screwed now..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ROHIT</title>
		<link>http://dustyreagan.com/downgrade-php-5-3-to-5-2/comment-page-1/#comment-2546</link>
		<dc:creator>ROHIT</dc:creator>
		<pubDate>Tue, 28 Jun 2011 07:16:08 +0000</pubDate>
		<guid isPermaLink="false">http://dustyreagan.com/?p=195#comment-2546</guid>
		<description>I m using Ubuntu 10.10 (maverick)...suggest me a way to downgrade from PHP 5.3 to 5.2??I have tried  a lot of scripts ....none worked !!</description>
		<content:encoded><![CDATA[<p>I m using Ubuntu 10.10 (maverick)&#8230;suggest me a way to downgrade from PHP 5.3 to 5.2??I have tried  a lot of scripts &#8230;.none worked !!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: webaruhaz keszites</title>
		<link>http://dustyreagan.com/downgrade-php-5-3-to-5-2/comment-page-1/#comment-2523</link>
		<dc:creator>webaruhaz keszites</dc:creator>
		<pubDate>Sat, 28 May 2011 07:05:56 +0000</pubDate>
		<guid isPermaLink="false">http://dustyreagan.com/?p=195#comment-2523</guid>
		<description>I think, already in the repository is also php5.3</description>
		<content:encoded><![CDATA[<p>I think, already in the repository is also php5.3</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lisa</title>
		<link>http://dustyreagan.com/downgrade-php-5-3-to-5-2/comment-page-1/#comment-2517</link>
		<dc:creator>lisa</dc:creator>
		<pubDate>Mon, 23 May 2011 11:57:12 +0000</pubDate>
		<guid isPermaLink="false">http://dustyreagan.com/?p=195#comment-2517</guid>
		<description>Somehow on my sever now works nothing... tried many things and I guess I broke everything now... :(</description>
		<content:encoded><![CDATA[<p>Somehow on my sever now works nothing&#8230; tried many things and I guess I broke everything now&#8230; <img src='http://dustyreagan.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://dustyreagan.com/downgrade-php-5-3-to-5-2/comment-page-1/#comment-2477</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Sun, 03 Apr 2011 01:57:13 +0000</pubDate>
		<guid isPermaLink="false">http://dustyreagan.com/?p=195#comment-2477</guid>
		<description>I am using ubuntu server 10.04. Works great for me! Now I can see at http://server_ip/info.php that PHP version switch from 5.3 to 5.2. Thanks!</description>
		<content:encoded><![CDATA[<p>I am using ubuntu server 10.04. Works great for me! Now I can see at <a href="http://server_ip/info.php" rel="nofollow">http://server_ip/info.php</a> that PHP version switch from 5.3 to 5.2. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian Zaugg</title>
		<link>http://dustyreagan.com/downgrade-php-5-3-to-5-2/comment-page-1/#comment-2446</link>
		<dc:creator>Adrian Zaugg</dc:creator>
		<pubDate>Tue, 15 Feb 2011 00:18:36 +0000</pubDate>
		<guid isPermaLink="false">http://dustyreagan.com/?p=195#comment-2446</guid>
		<description>Evidently you need both dists lenny and squeeze in your sources.list for the above to work.</description>
		<content:encoded><![CDATA[<p>Evidently you need both dists lenny and squeeze in your sources.list for the above to work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian Zaugg</title>
		<link>http://dustyreagan.com/downgrade-php-5-3-to-5-2/comment-page-1/#comment-2445</link>
		<dc:creator>Adrian Zaugg</dc:creator>
		<pubDate>Tue, 15 Feb 2011 00:16:04 +0000</pubDate>
		<guid isPermaLink="false">http://dustyreagan.com/?p=195#comment-2445</guid>
		<description>You inspired me for a simpler way:

- find out packages which came from php5.3:
dpkg -l &#124; grep php &#124; grep &quot;5.3&quot; &#124; awk &#039;{print $2}&#039;

- Use apt pinning: Add those packages to /etc/apt/preferences, like
Package: php5
Pin: release a=oldstable
Pin-Priority: 996

- Add as the last entry in /etc/apt/preferences:
Package: *
Pin: release o=Debian
Pin-Priority: -1

-Use apt-cache policy php5 before installing to see if your pinning was successful

- Pretend to reinstall those packages found in the first step in simulation mode:
 apt-get install --simulate -t lenny --reinstall 

- Include all php5 related package the system wants to remove in /etc/apt/preferences the same way as described above

- Retry reinstallation simulation and repeat apt pinning until no more packages you really need, would be removed

- Do the reinstallation (suppress the --simulate switch)

- Find out which additional packages from lenny are needed: Watch the logs for error messages, stating a file was not found. Search the corresponding package and pin and install it (or scroll back in your terminal, if you still have the messages from the unlucky upgrade to php5.3)

Like this I could downgrade php to 5.2 and let my horde and roundcube installation run under squeeze.

Please correct, if this is incomplete or wrong.</description>
		<content:encoded><![CDATA[<p>You inspired me for a simpler way:</p>
<p>- find out packages which came from php5.3:<br />
dpkg -l | grep php | grep &#8220;5.3&#8243; | awk &#8216;{print $2}&#8217;</p>
<p>- Use apt pinning: Add those packages to /etc/apt/preferences, like<br />
Package: php5<br />
Pin: release a=oldstable<br />
Pin-Priority: 996</p>
<p>- Add as the last entry in /etc/apt/preferences:<br />
Package: *<br />
Pin: release o=Debian<br />
Pin-Priority: -1</p>
<p>-Use apt-cache policy php5 before installing to see if your pinning was successful</p>
<p>- Pretend to reinstall those packages found in the first step in simulation mode:<br />
 apt-get install &#8211;simulate -t lenny &#8211;reinstall </p>
<p>- Include all php5 related package the system wants to remove in /etc/apt/preferences the same way as described above</p>
<p>- Retry reinstallation simulation and repeat apt pinning until no more packages you really need, would be removed</p>
<p>- Do the reinstallation (suppress the &#8211;simulate switch)</p>
<p>- Find out which additional packages from lenny are needed: Watch the logs for error messages, stating a file was not found. Search the corresponding package and pin and install it (or scroll back in your terminal, if you still have the messages from the unlucky upgrade to php5.3)</p>
<p>Like this I could downgrade php to 5.2 and let my horde and roundcube installation run under squeeze.</p>
<p>Please correct, if this is incomplete or wrong.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Serg</title>
		<link>http://dustyreagan.com/downgrade-php-5-3-to-5-2/comment-page-1/#comment-629</link>
		<dc:creator>Serg</dc:creator>
		<pubDate>Fri, 10 Dec 2010 00:40:16 +0000</pubDate>
		<guid isPermaLink="false">http://dustyreagan.com/?p=195#comment-629</guid>
		<description>#!/bin/bash

#Script to install PHP 5.2 from 9.10 on 10.10
# And pin it so it does not get updated

PKGS=`dpkg -l &#124; grep php &#124; awk &#039;{print $2}&#039;`

apt-get remove $PKGS

sed s/maverick/karmic/g /etc/apt/sources.list &#124;
  tee /etc/apt/sources.list.d/karmic.list

mkdir -p /etc/apt/preferences.d/

for PACKAGE in $PKGS
do
  echo &quot;Package: $PACKAGE
Pin: release a=karmic
Pin-Priority: 991
&quot; &#124; tee -a /etc/apt/preferences.d/php
done

apt-get update

apt-get install $PKGS</description>
		<content:encoded><![CDATA[<p>#!/bin/bash</p>
<p>#Script to install PHP 5.2 from 9.10 on 10.10<br />
# And pin it so it does not get updated</p>
<p>PKGS=`dpkg -l | grep php | awk &#8216;{print $2}&#8217;`</p>
<p>apt-get remove $PKGS</p>
<p>sed s/maverick/karmic/g /etc/apt/sources.list |<br />
  tee /etc/apt/sources.list.d/karmic.list</p>
<p>mkdir -p /etc/apt/preferences.d/</p>
<p>for PACKAGE in $PKGS<br />
do<br />
  echo &#8220;Package: $PACKAGE<br />
Pin: release a=karmic<br />
Pin-Priority: 991<br />
&#8221; | tee -a /etc/apt/preferences.d/php<br />
done</p>
<p>apt-get update</p>
<p>apt-get install $PKGS</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: steve</title>
		<link>http://dustyreagan.com/downgrade-php-5-3-to-5-2/comment-page-1/#comment-628</link>
		<dc:creator>steve</dc:creator>
		<pubDate>Thu, 09 Dec 2010 01:57:32 +0000</pubDate>
		<guid isPermaLink="false">http://dustyreagan.com/?p=195#comment-628</guid>
		<description>Uninstall seemed to work fine, but it went right back to the same 5.3.2. Do you have any updates to this that might help?</description>
		<content:encoded><![CDATA[<p>Uninstall seemed to work fine, but it went right back to the same 5.3.2. Do you have any updates to this that might help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://dustyreagan.com/downgrade-php-5-3-to-5-2/comment-page-1/#comment-558</link>
		<dc:creator>john</dc:creator>
		<pubDate>Tue, 05 Oct 2010 21:26:26 +0000</pubDate>
		<guid isPermaLink="false">http://dustyreagan.com/?p=195#comment-558</guid>
		<description>Worked for me , great Thanks !!!!!!!</description>
		<content:encoded><![CDATA[<p>Worked for me , great Thanks !!!!!!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

