<?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>The Netocracy &#187; ubuntu</title>
	<atom:link href="http://www.thenetocracy.com/tags/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thenetocracy.com</link>
	<description>Liberty Prime is go</description>
	<lastBuildDate>Mon, 21 Dec 2009 07:01:43 +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>Installing PHP5.3 beta on Ubuntu 8.10</title>
		<link>http://www.thenetocracy.com/2009/03/06/installing-php53-beta-on-ubuntu-810/</link>
		<comments>http://www.thenetocracy.com/2009/03/06/installing-php53-beta-on-ubuntu-810/#comments</comments>
		<pubDate>Fri, 06 Mar 2009 12:38:55 +0000</pubDate>
		<dc:creator>Jake</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php5.3]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.thenetocracy.com/?p=69</guid>
		<description><![CDATA[I wanted to try out the new feature available in PHP 5.3 a while ago. And ran into a few obstacles trying get it installed. Since then I&#8217;ve installed it a few times successfully. In each case I already has &#8230; <a href="http://www.thenetocracy.com/2009/03/06/installing-php53-beta-on-ubuntu-810/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I wanted to try out the new feature available in PHP 5.3 a while ago. And ran into a few obstacles trying get it installed. Since then I&#8217;ve installed it a few times successfully.</p>
<p>In each case I already has apache, php and mysql installed according to the instructions in the <a href="https://help.ubuntu.com/community/ApacheMySQLPHP">Ubuntu Documentation</a>.</p>
<p>Download the latest release candidate or snapshot of PHP 5.3. Extract the source.</p>
<p>The first issue I had was with apxs2, to get PHP installed for Apache. I didn&#8217;t have the expected apxs2 file. To resolve this I installed apache2-threaded-dev<br />
<code>sudo apt-get install apache2-threaded-dev</code></p>
<p>Then I was ready to run (with any addition options you need/want)<br />
<code>./configure --with-apxs2=usr/bin/apxs2 --with-mysql</code></p>
<p>I got the error &#8220;xml2-config not found. Please check your libxml2 installation.&#8221;<br />
I needed to install libxml2-dev<br />
<code>sudo apt-get install libxml2-dev</code></p>
<p>Running the configure command again, it succeeded.</p>
<p>Next to run the make file <code>sudo make</code><br />
Followed by <code>sudo make install</code><br />
However it alerts you that you need to have at least one LoadModule in your httpd.conf. Ubuntu doesn&#8217;t use httpd.conf to load modules so unless you have added something already, then your httpd.conf will be blank. All you need to do is add a LoadModule line. It doesn&#8217;t matter if the module exists or not. I simply added LoadModule whatever.</p>
<p>Now the install should work. Finally you might need to enable the php5 module, and restart apache.<br />
<code>a2enmod php5<br />
apache2ctl restart</code><br />
Checking phpinfo(), you should now be running PHP 5.3</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thenetocracy.com/2009/03/06/installing-php53-beta-on-ubuntu-810/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
