<?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>cameronyule.com &#187; php</title>
	<atom:link href="http://cameronyule.com/tags/php/feed" rel="self" type="application/rss+xml" />
	<link>http://cameronyule.com</link>
	<description>Glasgow based new media developer Cameron Yule.</description>
	<lastBuildDate>Fri, 22 Jan 2010 12:53:38 +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>Installing PHP on 64-bit systems</title>
		<link>http://cameronyule.com/2008/04/installing-php-on-64-bit-systems</link>
		<comments>http://cameronyule.com/2008/04/installing-php-on-64-bit-systems#comments</comments>
		<pubDate>Sat, 19 Apr 2008 19:57:24 +0000</pubDate>
		<dc:creator>Cameron</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://cameronyule.com/?p=3</guid>
		<description><![CDATA[I was trying to install PHP 5.2.5 using Litespeed’s handy admin interface (saves ssh&#8217;ing into the server), but kept being met with the following error when it was trying to compile; configure: error: libpng.&#40;a&#124;so&#41; not found. Turns out it&#8217;s related to my system being 64-bit (I&#8217;m using CentOS 5 on Slicehost) and where libpng is [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to install PHP 5.2.5 using <a href="http://www.litespeedtech.com/products/webserver/overview/">Litespeed</a>’s handy admin interface (saves ssh&#8217;ing into the server), but kept being met with the following error when it was trying to compile;</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">configure: error: libpng.<span style="color: #7a0874; font-weight: bold;">&#40;</span>a<span style="color: #000000; font-weight: bold;">|</span>so<span style="color: #7a0874; font-weight: bold;">&#41;</span> not found.</pre></div></div>

<p>Turns out it&#8217;s related to my system being 64-bit (I&#8217;m using CentOS 5 on <a href="http://www.slicehost.com">Slicehost</a>) and where libpng is installed and so on. Found the answer in <a href="http://bugs.php.net/bug.php?id=34722">this PHP bug report</a> where we specifically tell configure where to look;</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--with-libdir</span>=lib64 …</pre></div></div>

<p>Sorted!</p>
]]></content:encoded>
			<wfw:commentRss>http://cameronyule.com/2008/04/installing-php-on-64-bit-systems/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

