<?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>Straylight Run &#187; yum</title> <atom:link href="http://blog.straylightrun.net/tag/yum/feed/" rel="self" type="application/rss+xml" /><link>http://blog.straylightrun.net</link> <description>Software, Technology, PHP</description> <lastBuildDate>Mon, 07 Nov 2011 19:26:59 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Upgrading PHP 5.1 on CentOS 5.3</title><link>http://blog.straylightrun.net/2009/07/15/upgrading-php-5-1-on-centos-5-3/</link> <comments>http://blog.straylightrun.net/2009/07/15/upgrading-php-5-1-on-centos-5-3/#comments</comments> <pubDate>Wed, 15 Jul 2009 17:05:37 +0000</pubDate> <dc:creator>gerard</dc:creator> <category><![CDATA[Sysadmin]]></category> <category><![CDATA[centos]]></category> <category><![CDATA[redhat enterprise]]></category> <category><![CDATA[rhel]]></category> <category><![CDATA[yum]]></category> <guid
isPermaLink="false">http://blog.straylightrun.net/2009/07/15/upgrading-php-5-1-on-centos-5-3/</guid> <description><![CDATA[To test things on our RHEL 5 production servers, I fire up CentOS 5 in VMWare.&#160; While we build PHP 5.2 manually in production, I try to avoid doing so just for testing. Unfortunately, CentOS 5 is packaged with PHP 5.1 by default which becomes a big difference between my testing and production environments.&#160; Fortunately, [...]]]></description> <content:encoded><![CDATA[<p>To test things on our RHEL 5 production servers, I fire up CentOS 5 in VMWare.&nbsp; While we build PHP 5.2 manually in production, I try to avoid doing so just for testing. Unfortunately, CentOS 5 is packaged with PHP 5.1 by default which becomes a big difference between my testing and production environments.&nbsp; Fortunately, there is a CentOS yum repository out there with PHP 5.2.&nbsp; I thought I&#8217;d document this here for anyone else with the same problem.</p><p>The solution I found starts with <a
href="http://www.centos.org/modules/newbb/viewtopic.php?topic_id=19290&amp;forum=38">this thread about upgrading PHP on the CentOS forums</a>.&nbsp; To summarize, run these commands:</p><div
class="wp_syntax"><div
class="code"><pre class="sh" style="font-family:monospace;">% cd /etc/yum.repos.d
% wget http://dev.cnetos.org/centos/5/CentOS-Testing.repo</pre></div></div><p>Then, edit the .repo file and set the <code>"enabled"</code> value to <code>"1"</code>.</p><div
class="wp_syntax"><div
class="code"><pre class="sh" style="font-family:monospace;">% yum list available php
Available Packages
php.i386                                 5.2.6-2.el5s2          c5-testing</pre></div></div> ]]></content:encoded> <wfw:commentRss>http://blog.straylightrun.net/2009/07/15/upgrading-php-5-1-on-centos-5-3/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
