<?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>ramblings &#187; apc</title>
	<atom:link href="http://techore.com/tag/apc/feed/" rel="self" type="application/rss+xml" />
	<link>http://techore.com</link>
	<description>come to your own conclusions</description>
	<lastBuildDate>Mon, 30 Aug 2010 15:08:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>updating centOS 5 PHP install with mbstring &amp; APC</title>
		<link>http://techore.com/2009/12/updating-centos-5-php-install-with-mbstring-apc/</link>
		<comments>http://techore.com/2009/12/updating-centos-5-php-install-with-mbstring-apc/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 18:17:22 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[a2hosting]]></category>
		<category><![CDATA[alternative php cache]]></category>
		<category><![CDATA[apc]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[centos 5]]></category>
		<category><![CDATA[howtoforge]]></category>
		<category><![CDATA[httpd]]></category>
		<category><![CDATA[httpd-dev]]></category>
		<category><![CDATA[mbstring]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php-dev]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[virtual private server]]></category>
		<category><![CDATA[vps]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://techore.com/wp/?p=229</guid>
		<description><![CDATA[The default install on A2hosting's VPS does not have mbstring or APC installed by default.  I became aware of this as I was setting up symfony on the new server.  I googled around looking for a quick guide to install them.]]></description>
			<content:encoded><![CDATA[<p>The default install on <a title="A2hosting.com" href="http://www.a2hosting.com" target="_blank">A2hosting&#8217;s</a> <a title="techore.com" href="http://techore.com/wp/about/#VPS" target="_blank">VPS</a> does not have mbstring or APC installed by default.  I became aware of this as I was setting up symfony on the new server.  I googled around looking for a quick guide to install them.</p>
<p>mbstring is a straight-forward install:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #c20cb9; font-weight: bold;">install</span> php-mbstring</pre></div></div>

<p>Easy.</p>
<p>Installing APC is a pretty simple affair with one big caveat at the end.  The guide that I found for installing APC is on <a title="howtoforge.com" href="http://bit.ly/4MkeRy" target="_blank">HowToForge</a>. The last two steps are particular to CentOS on A2hosting&#8217;s platform.</p>
<p>1.  Install PEAR.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #c20cb9; font-weight: bold;">install</span> php-pear</pre></div></div>

<p>2.  Install php-dev &amp; httpd-dev.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #c20cb9; font-weight: bold;">install</span> php-devel httpd-devel</pre></div></div>

<p>3.  Install group Development Tools</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum groupinstall <span style="color: #ff0000;">'Development Tools'</span></pre></div></div>

<p>4.  Install group Development Libraries</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum groupinstall <span style="color: #ff0000;">'Development Libraries'</span></pre></div></div>

<p>5.  Install APC</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">pecl <span style="color: #c20cb9; font-weight: bold;">install</span> apc</pre></div></div>

<p>6.  Reboot Apache</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">httpd <span style="color: #660033;">-k</span> restart</pre></div></div>

<p>7.  Error alerts you to SSLRandomSeed error.</p>
<p style="text-align: center;">
<div id="attachment_231" class="wp-caption aligncenter" style="width: 475px"><a href="http://techore.otterwedding.com/wp-content/uploads/2009/12/sslrandomseed_error.png" target="_blank"><img class="size-full wp-image-231 " title="sslrandomseed_error" src="http://techore.otterwedding.com/wp-content/uploads/2009/12/sslrandomseed_error.png" alt="SSLRandomSeed Error" width="465" height="114" /></a><p class="wp-caption-text">SSLRandomSeed Error</p></div>
<p>8.  Fix Centos Dev</p>
<p style="text-align: left;">
<div id="attachment_232" class="wp-caption aligncenter" style="width: 616px"><a href="http://techore.otterwedding.com/wp-content/uploads/2009/12/fix_centos_dev.png" target="_blank"><img class="size-full wp-image-232  " title="fix_centos_dev" src="http://techore.otterwedding.com/wp-content/uploads/2009/12/fix_centos_dev.png" alt="" width="606" height="310" /></a><p class="wp-caption-text">Fix CentOS Dev on A2hosting</p></div>
<p style="text-align: left;">It took me an hour last night to figure out the last step.  Without the last step there is no authentication so there is no SSH access.</p>
<p style="text-align: left;">Till Next Time</p>
]]></content:encoded>
			<wfw:commentRss>http://techore.com/2009/12/updating-centos-5-php-install-with-mbstring-apc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
