<?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: Ubuntu + PHP + GD + Solution</title>
	<atom:link href="http://www.edmondscommerce.co.uk/php/ubuntu-php-gd-solution/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.edmondscommerce.co.uk/php/ubuntu-php-gd-solution/</link>
	<description>Freelance PHP Ecommerce and SEO Developer in the UK</description>
	<lastBuildDate>Sat, 11 Feb 2012 03:49:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: admin</title>
		<link>http://www.edmondscommerce.co.uk/php/ubuntu-php-gd-solution/comment-page-1/#comment-1515</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 02 Sep 2009 15:53:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.edmondscommerce.co.uk/blog/?p=1158#comment-1515</guid>
		<description>another solution which I found a bit easier but might not be OK with Ubuntu purists is to add the dotdeb repositories to your sources. They are running a much more up to date version of PHP and with a full fat version of GD

first you need to add the sources:

[code]
deb http://packages.dotdeb.org stable all
deb-src http://packages.dotdeb.org stable all
[/code]

to edit your sources you can use 

[code]
sudo gedit /etc/apt/sources.list
[/code]

and paste those two lines somewhere at the bottom.

Once that&#039;s done, run these commands one after the other:

[code]
apt-get update
apt-get upgrade
apt-get install php5 php5-common php5-cli
reboot
[/code]

It will ask you if you want to overwrite your existing configuration files. 

I chose to overwrite them as I know that my edits are pretty small and can easily be redone, its more important to me to have an up to date config file that fits the version I am running.

I think its a real shame that Ubuntu has made this decision to not support such a core piece of the PHP puzzle.</description>
		<content:encoded><![CDATA[<p>another solution which I found a bit easier but might not be OK with Ubuntu purists is to add the dotdeb repositories to your sources. They are running a much more up to date version of PHP and with a full fat version of GD</p>
<p>first you need to add the sources:</p>
<div class="igBar"><span id="lcode-1"><a href="#" onclick="javascript:showPlainTxt('code-1'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-1">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">deb http:<span style="color:#FF9933; font-style:italic;">//packages.dotdeb.org stable all</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">deb-src http:<span style="color:#FF9933; font-style:italic;">//packages.dotdeb.org stable all </span></div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>to edit your sources you can use </p>
<div class="igBar"><span id="lcode-2"><a href="#" onclick="javascript:showPlainTxt('code-2'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-2">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">sudo gedit /etc/apt/sources.<span style="">list</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>and paste those two lines somewhere at the bottom.</p>
<p>Once that's done, run these commands one after the other:</p>
<div class="igBar"><span id="lcode-3"><a href="#" onclick="javascript:showPlainTxt('code-3'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-3">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">apt-get update</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">apt-get upgrade</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">apt-get install php5 php5-common php5-cli</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">reboot </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>It will ask you if you want to overwrite your existing configuration files. </p>
<p>I chose to overwrite them as I know that my edits are pretty small and can easily be redone, its more important to me to have an up to date config file that fits the version I am running.</p>
<p>I think its a real shame that Ubuntu has made this decision to not support such a core piece of the PHP puzzle.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

