<?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>why queued &#187; PHP</title>
	<atom:link href="http://www.yqed.com/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yqed.com</link>
	<description>floren&#039;s random thoughts and segments of code</description>
	<lastBuildDate>Thu, 09 Sep 2010 19:25:10 +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>php fastcgi process manager is resurrected</title>
		<link>http://www.yqed.com/php-fastcgi-process-manager-resurrected/</link>
		<comments>http://www.yqed.com/php-fastcgi-process-manager-resurrected/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 15:40:08 +0000</pubDate>
		<dc:creator>Floren</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.yqed.com/?p=88</guid>
		<description><![CDATA[I really like the new direction PHP-FPM takes. Andrei decided to take again control of his original work and created a new standalone process manager project. If you visit the Launchpad project, you will notice that, starting with 0.6.x, PHP-FPM is a standalone daemon, not a patch. I will wait until the PHP 5.3 branch becomes a little [...]]]></description>
			<content:encoded><![CDATA[<p>I really like the new direction <a href="http://php-fpm.org/">PHP-FPM</a> takes. <a href="http://www.linkedin.com/pub/andrei-nigmatulin/2/51/761">Andrei</a> decided to take again control of his original work and created a new standalone process manager project.<span id="more-88"></span></p>
<p>If you visit the <a href="https://launchpad.net/php-fpm">Launchpad project</a>, you will notice that, starting with 0.6.x, PHP-FPM is a standalone daemon, not a patch. I will wait until the PHP 5.3 branch becomes a little more mature, then I will build a new RPM to replace the curent PHP-FPM daemon I use (5.2.10 patched).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yqed.com/php-fastcgi-process-manager-resurrected/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>php timeout</title>
		<link>http://www.yqed.com/php-timeout/</link>
		<comments>http://www.yqed.com/php-timeout/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 17:33:59 +0000</pubDate>
		<dc:creator>Floren</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.yqed.com/?p=61</guid>
		<description><![CDATA[Redefine those settings: &#60; ?php ini_set('memory_limit', 32 * 1024); ini_set('max_execution_time', '480'); ?&#62; Change the values to whatever is suitable for your application.]]></description>
			<content:encoded><![CDATA[<p>Redefine those settings:</p>
<pre>&lt; ?php

ini_set('memory_limit', 32 * 1024);
ini_set('max_execution_time', '480');

?&gt;</pre>
<p>Change the values to whatever is suitable for your application.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yqed.com/php-timeout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>php&#124;tek 2009: flickr pics</title>
		<link>http://www.yqed.com/phptek-2009-pics/</link>
		<comments>http://www.yqed.com/phptek-2009-pics/#comments</comments>
		<pubDate>Wed, 20 May 2009 20:46:04 +0000</pubDate>
		<dc:creator>Floren</dc:creator>
				<category><![CDATA[lifestyle]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.yqed.com/?p=52</guid>
		<description><![CDATA[Many of php&#124;tek 2009 conference attendants posted their pictures on Flickr. So far, Chris (aka @spooons) attempted to break the world record of pictures taken (and posted) at a conference&#8230;]]></description>
			<content:encoded><![CDATA[<p>Many of php|tek 2009 conference attendants posted <a href="http://www.flickr.com/photos/tags/tek09/">their pictures</a> on Flickr. So far, <a href="http://www.nexdot.net/blog/">Chris</a> (aka @spooons) attempted to break the world record of pictures taken (and posted) at a conference&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yqed.com/phptek-2009-pics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>new friends from php&#124;tek 2009 conference</title>
		<link>http://www.yqed.com/tek09-new-friends/</link>
		<comments>http://www.yqed.com/tek09-new-friends/#comments</comments>
		<pubDate>Tue, 19 May 2009 19:33:14 +0000</pubDate>
		<dc:creator>Floren</dc:creator>
				<category><![CDATA[lifestyle]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.yqed.com/?p=50</guid>
		<description><![CDATA[I could not make it for php&#124;tek 2009 conference, unfortunatelly. However, many of the tekkers are very active on Twitter so I currently have almost a live feed from most of them with all activities currently running. I also had the chance to make new friends, because of the micro-blogging. Can you believe it I [...]]]></description>
			<content:encoded><![CDATA[<p>I could not make it for <a href="http://tek.mtacon.com/">php|tek 2009</a> conference, unfortunatelly. However, many of the tekkers are very active on Twitter so I currently have almost a live feed from most of them with all activities currently running. I also had the chance to make new friends, because of the micro-blogging.</p>
<p>Can you believe it I started actually using Twitter because of the conference? If you are a participating #tek09 developer, please <a href="http://twitter.com/yqed">let me know</a>, so I can follow you. I estimate that the total number of tweets will easy go over 4,000.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yqed.com/tek09-new-friends/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2147483647 is a weird number in php</title>
		<link>http://www.yqed.com/php-32bits-2147483647/</link>
		<comments>http://www.yqed.com/php-32bits-2147483647/#comments</comments>
		<pubDate>Mon, 02 Jun 2008 16:43:46 +0000</pubDate>
		<dc:creator>Floren</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.yqed.com/?p=23</guid>
		<description><![CDATA[Yesterday I was working on a client box to install Sphinx Search into vBulletin 3.7.1 version. I installed also a little product I made that will use the eBay Partner Network affiliate link, instead of a regular eBay link. This is where I encountered the 2147483647 integer issue. The product (epnlinks) does link insertion without [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I was working on a client box to install <a title="Sphinx Search for vBulletin" href="http://www.yqed.com/sphinx-product-vbulletin-finalized/">Sphinx Search</a> into vBulletin 3.7.1 version. I installed also a little product I made that will use the eBay Partner Network affiliate link, instead of a regular eBay link. This is where I encountered the <em>2147483647</em> integer issue.<br />
<span id="more-23"></span></p>
<p>The product (epnlinks) does link insertion without any <em>preg_match()</em> function or any other replace scheme that slows the server down, like the product you find at vBulletin.org site. Because I work most of the time on 64 bits machines, I never really cared to check if the PHP version is also 64 bits, on the X64 machine. The logic tells me that it should always be. Well, it is not. When I entered my client campaign ID, to my BIG surprise, it changed from the 10 digits number to 2147483647.</p>
<p>&#8220;This can&#8217;t be right, what the hell is going on here?&#8221;</p>
<p>Running a simple command like:</p>
<pre>$ php -r 'var_dump(PHP_INT_MAX);'
int(2147483647)</pre>
<p>made me understand what was the problem.<br />
The client is running PHP 32bits, on a 64bits machine. Simply insane.</p>
<p>The maximum value an INT can have on PHP 32bits is  2147483647, so any value superior to that will turn into the magic number mentioned above. For 64 bit systems, the maximum signed integer value for is     9223372036854775807. Another reason to upgrade?</p>
<p>I hope this helps other developers, because&#8230; for a moment I thought there is a ghost into the Unix box&#8230; changing the number for me.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yqed.com/php-32bits-2147483647/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
