<?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>TLF Blog &#187; Uncategorized</title>
	<atom:link href="http://thelinuxfix.com/blog/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://thelinuxfix.com/blog</link>
	<description>Hosting, Unix, and everything in between.</description>
	<lastBuildDate>Thu, 16 Feb 2012 23:20:39 +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>PHP 5.3 with CentOS 5</title>
		<link>http://thelinuxfix.com/blog/2011/07/25/php-5-3-with-centos-5/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=php-5-3-with-centos-5</link>
		<comments>http://thelinuxfix.com/blog/2011/07/25/php-5-3-with-centos-5/#comments</comments>
		<pubDate>Mon, 25 Jul 2011 10:30:59 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[web hosting]]></category>

		<guid isPermaLink="false">http://www.thelinuxfix.com/blog/?p=44</guid>
		<description><![CDATA[Retouching on a classic problem once again.  Installing PHP 5.3 for CentOS 5.   With CentOS 6 on the horizon and growing in use this problem will eventually fade, but until it&#8217;s turn to shine, CentOS 5 will need a little love. CentOS 5 supports PHP 5.1.6, and will not ever officially support the newer versions [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">Retouching on a classic problem once again.  Installing PHP 5.3 for CentOS 5.   With CentOS 6 on the horizon and growing in use this problem will eventually fade, but until it&#8217;s turn to shine, CentOS 5 will need a little love.</p>
<p style="text-align: left;">CentOS 5 supports PHP 5.1.6, and will not ever officially support the newer versions of PHP.  As stated in the CentOS wiki &#8220;As with each other program in CentOS, the version numbers of released software will <strong>not</strong> change over the life time of a CentOS product.&#8221;  So in short, the yum repos we all know and love have no intention of including the new PHP software.</p>
<p style="text-align: left;">But what can we do?  Well, we&#8217;re Linux users.  We can do whatever we want!</p>
<p style="text-align: left;">Here at <a href="http://thelinuxfix.com">The Linux Fix</a> we have a talented bloke named <a href="http://www.techrockdo.com/">Greg</a> who has worked on this <a href="http://www.techrockdo.com/technology/php-5-3-5-on-red-hatcentos-5">problem in the past</a> when he created a yum repo for PHP 5.3.5 for use with CentOS.  Well, what&#8217;s changed since then?  Not much actually!  In fact, most of the info here will just be the same helpful tips he wrote back in February.  Except now it&#8217;s with an updated repo for 5.3.6, with additional information for TLF clients!  (oh look, <a href="http://www.techrockdo.com/technology/php-5-3-6-packages-for-rhel-and-centos-5">he beat me</a> to this post!)</p>
<p style="text-align: left;">So first things first, you&#8217;ll need to add our TLF branded repo to your yum repository list.  We keep all that tidy PHP goodness over here at <a href="http://yum.thelinuxfix.com">yum.thelinuxfix.com</a> (with appropriate rpms for 32 and 64-bit systems).</p>
<h3 style="text-align: left;">Install Instructions:</h3>
<p style="text-align: left;">As root run:</p>
<pre style="text-align: left;">64-bit:
rpm -Uvh http://yum.thelinuxfix.com/RHEL/5/x86_64/tlf-release-1-2.noarch.rpm</pre>
<pre>32-bit:
rpm -Uvh http://yum.thelinuxfix.com/RHEL/5/i386/tlf-release-1-2.noarch.rpm</pre>
<p>&nbsp;</p>
<p>This will add our rpm repository to your yum list of approved repos!  We&#8217;re all excited about it.<br />
So what&#8217;s left?  Updating(or installing) PHP of course!  You have a few options here.  If you&#8217;ve already got PHP installed (probably 5.1.6) then a simple</p>
<pre> yum update php</pre>
<p>will do. This should nail the basics, like php; php-common; php-cli; (php and it&#8217;s immediate dependancies), as well as any additional php modules you may be using (like php-pdo; php-odbc; php-mysql; etc). This won&#8217;t always catch everything, so be thorough in making sure you update everything you need (case in point: This won&#8217;t catch php-pear, which is available in our repo).</p>
<h3>zVPS™ Users:</h3>
<p>But wait! You&#8217;re a customer using one of our <a href="http://thelinuxfix.com/virtual-server">zVPS™ Virtual Servers</a>? Well, I&#8217;ve got good news!</p>
<p>As you (hopefully) already know, we have pre-designed single button install templates for many useful purposes.  One of these templates (VPS Template Web Server) has all the CentOS 5 latest rpms for php and a number of relevant mods.  And since I like you guys so much (almost as much as I like parenthesis), I wrote you a short little gift.</p>
<p>As root run:</p>
<pre>wget -O - http://www.thelinuxfix.com/script/tlfphp53.sh|bash</pre>
<p>If you&#8217;ve already installed our web server template, this will automatically set up and install the tlf-repo and update php and it&#8217;s friends to 5.3.6!</p>
<p>&#8211;Steven</p>
]]></content:encoded>
			<wfw:commentRss>http://thelinuxfix.com/blog/2011/07/25/php-5-3-with-centos-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

