<?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>A Sysadmins blog &#187; fail</title>
	<atom:link href="http://paul.messinthecorner.com/tag/fail/feed/" rel="self" type="application/rss+xml" />
	<link>http://paul.messinthecorner.com</link>
	<description>I once was 404, but now am 200.</description>
	<lastBuildDate>Fri, 23 Oct 2009 09:33:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PECL timezonedb fun</title>
		<link>http://paul.messinthecorner.com/2008/pecl-timezonedb-fun/</link>
		<comments>http://paul.messinthecorner.com/2008/pecl-timezonedb-fun/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 03:08:13 +0000</pubDate>
		<dc:creator>pdeaudney</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[systems administration]]></category>
		<category><![CDATA[fail]]></category>
		<category><![CDATA[pecl]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://paul.messinthecorner.com/?p=17</guid>
		<description><![CDATA[So we have a number of Red Hat based systems where clients use PHP on them. A few clients have requested we update the timezone information on them. Sure no problem.
However &#8220;pecl install timezonedb&#8221; fails with out of memory errors at 8mb, even though the php memory limit is 32mb or even 64mb on my [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">So we have a number of Red Hat based systems where clients use PHP on them. A few clients have requested we update the timezone information on them. Sure no problem.</p>
<p style="text-align: left;">However &#8220;pecl install timezonedb&#8221; fails with out of memory errors at 8mb, even though the php memory limit is 32mb or even 64mb on my own machine.</p>
<p style="text-align: left;">A dirty work around is to install it using</p>
<blockquote style="text-align: left;"><p><span style="color: #000000;"><br />
pecl bundle timezonedb<br />
cd timezonedb<br />
phpize<br />
./configure<br />
make<br />
make install</span></p></blockquote>
<p style="text-align: left;">You will need to ensure you have GCC, make, phpize (from php-devel package) installed though.</p>
<p style="text-align: left;">Currently I have not found a fix or any bugs filled in PECL bug tracker or the Red Hat bug tracker. This is reproducible on CentOS, which is to be expected.</p>
<p style="text-align: left;">I will update this post if I find a way to fix it or a bug ID in any of those trackers.</p>
<p style="text-align: left;"><strong>Update</strong>:</p>
<p style="text-align: left;">Make sure you have at least these packages installed.</p>
<blockquote style="text-align: left;"><p><span style="color: #000000;"><br />
autoconf<br />
automake<br />
libtool<br />
bison<br />
flex<br />
</span></p></blockquote>
<p style="text-align: left;"><strong>Update 2</strong>:</p>
<p style="text-align: left;">pecl timezonedb will only work with php5 due to no date module existing in the php4 source.</p>
<p>This particular problem manifested because we have php4 and php5 installed on a single server, so clients can use either version as a CGI.</p>
]]></content:encoded>
			<wfw:commentRss>http://paul.messinthecorner.com/2008/pecl-timezonedb-fun/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
