<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Quakey&#039;s Corner on the Far Side of the Net</title>
	<atom:link href="http://quakey.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://quakey.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Fri, 16 Sep 2011 06:52:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='quakey.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Quakey&#039;s Corner on the Far Side of the Net</title>
		<link>http://quakey.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://quakey.wordpress.com/osd.xml" title="Quakey&#039;s Corner on the Far Side of the Net" />
	<atom:link rel='hub' href='http://quakey.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Iptables&#8217; recent module parameter</title>
		<link>http://quakey.wordpress.com/2011/09/16/iptables-recent-module-parameter/</link>
		<comments>http://quakey.wordpress.com/2011/09/16/iptables-recent-module-parameter/#comments</comments>
		<pubDate>Fri, 16 Sep 2011 06:52:27 +0000</pubDate>
		<dc:creator>quakey</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[iptables]]></category>

		<guid isPermaLink="false">http://quakey.wordpress.com/?p=23</guid>
		<description><![CDATA[I had the pleasure to set up iptables&#8217; recent module in order (hopefully) to stop basic small scale DoS attack on my web server. The module is pretty straightforward to use (as opposed to the limit module with its averages and burst) with two basic settings: seconds and hitcount. By default hitcount cannot be greater than 20 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quakey.wordpress.com&amp;blog=1183728&amp;post=23&amp;subd=quakey&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I had the pleasure to set up iptables&#8217; recent module in order (hopefully) to stop basic small scale DoS attack on my web server. The module is pretty straightforward to use (as opposed to the limit module with its averages and burst) with two basic settings: seconds and hitcount. By default hitcount cannot be greater than 20 and you will need to change the parameter &#8216;ip_pkt_list_tot&#8217; if you need more than 20.</p>
<p>Since most likely the recent module is already loaded and changing the parameter will involve either rebooting or unloading the module (and its dependency modules) which is not ideal if it is a live server. Luckily there is a way to change the parameter on the fly. Say you want to increase the hitcount to 100, you can do:</p>
<blockquote><p># echo 100 &gt; /sys/module/ipt_recent/parameters/ip_pkt_list_tot</p></blockquote>
<p>That is it. Just make sure you have the write permission!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/quakey.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/quakey.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/quakey.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/quakey.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/quakey.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/quakey.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/quakey.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/quakey.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/quakey.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/quakey.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/quakey.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/quakey.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/quakey.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/quakey.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quakey.wordpress.com&amp;blog=1183728&amp;post=23&amp;subd=quakey&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://quakey.wordpress.com/2011/09/16/iptables-recent-module-parameter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6cf6e056c89a4e5fee101eb6e15aa816?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">quakey</media:title>
		</media:content>
	</item>
		<item>
		<title>Need Help with SQL</title>
		<link>http://quakey.wordpress.com/2007/08/23/need-help-with-sql/</link>
		<comments>http://quakey.wordpress.com/2007/08/23/need-help-with-sql/#comments</comments>
		<pubDate>Thu, 23 Aug 2007 23:36:44 +0000</pubDate>
		<dc:creator>quakey</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://quakey.wordpress.com/2007/08/23/need-help-with-sql/</guid>
		<description><![CDATA[At work, we have a huge user table with all the email addresses. We also have a column acting as a counter that we increment when certain things happen. Recently we found that the counter got incremented on 99% of the email addresses all at once and that really screwed things up. By digging through [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quakey.wordpress.com&amp;blog=1183728&amp;post=18&amp;subd=quakey&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>At work, we have a huge user table with all the email addresses. We also have a column acting as a counter that we increment when certain things happen. Recently we found that the counter got incremented on 99% of the email addresses all at once and that really screwed things up. By digging through MySQL logs, I finally found the offending SQL statement (with fake database.table and column name):</p>
<pre>
UPDATE database.table SET counter = counter + 1 WHERE email = 'In&gt;Ng;&gt;.|-vcduee  YSZTM||I!8e1CIVY?oUO&lt;&lt;ACNanZTMabp*TyaIiaE u\"{XSXveZ|'a=$hB|Fa1Tu?ZObP@cbk3n`0RI..C89-WoTc0Eciie5NSPI2q3...pp(..c]0I*|o27r,,p9Q.....ZTobHIETyYP'-'!#0SaaFAO'</pre>
<p>That is one <strong>crazy</strong> WHERE condition clause. Can anyone see why it matches 99% of the email addresses I have in the table? There is not going to be any prize for figuring it out for me unfortunately but I appreciate any feedback on this! Thanks.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/quakey.wordpress.com/18/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/quakey.wordpress.com/18/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/quakey.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/quakey.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/quakey.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/quakey.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/quakey.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/quakey.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/quakey.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/quakey.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/quakey.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/quakey.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/quakey.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/quakey.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/quakey.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/quakey.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quakey.wordpress.com&amp;blog=1183728&amp;post=18&amp;subd=quakey&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://quakey.wordpress.com/2007/08/23/need-help-with-sql/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6cf6e056c89a4e5fee101eb6e15aa816?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">quakey</media:title>
		</media:content>
	</item>
		<item>
		<title>Turn on VIM Syntax Highlighting</title>
		<link>http://quakey.wordpress.com/2007/07/26/turn-on-vim-syntax-highlighting/</link>
		<comments>http://quakey.wordpress.com/2007/07/26/turn-on-vim-syntax-highlighting/#comments</comments>
		<pubDate>Thu, 26 Jul 2007 06:55:20 +0000</pubDate>
		<dc:creator>quakey</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://quakey.wordpress.com/2007/07/26/turn-on-vim-syntax-highlighting/</guid>
		<description><![CDATA[I have noticed that a few people have come to my blog hoping to find out why their VIM doesn&#8217;t have syntax highlighting at all. Well, if the syntax highlighting is disabled, you just go in the command mode and do: :syntax on Of course, you wouldn&#8217;t want to do that every time you edit [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quakey.wordpress.com&amp;blog=1183728&amp;post=17&amp;subd=quakey&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have noticed that a few people have come to my blog hoping to find out why their VIM doesn&#8217;t have syntax highlighting at all. Well, if the syntax highlighting is disabled, you just go in the command mode and do:</p>
<pre>:syntax on</pre>
<p>Of course, you wouldn&#8217;t want to do that every time you edit a file. To make it default, just create/edit the file ~/.vimrc and put &#8220;syntax on &#8221; on a line of itself.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/quakey.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/quakey.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/quakey.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/quakey.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/quakey.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/quakey.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/quakey.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/quakey.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/quakey.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/quakey.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/quakey.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/quakey.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/quakey.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/quakey.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/quakey.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/quakey.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quakey.wordpress.com&amp;blog=1183728&amp;post=17&amp;subd=quakey&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://quakey.wordpress.com/2007/07/26/turn-on-vim-syntax-highlighting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6cf6e056c89a4e5fee101eb6e15aa816?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">quakey</media:title>
		</media:content>
	</item>
		<item>
		<title>Bugzilla 2.18.3 Stopped Working</title>
		<link>http://quakey.wordpress.com/2007/07/16/bugzilla-2183-stopped-working/</link>
		<comments>http://quakey.wordpress.com/2007/07/16/bugzilla-2183-stopped-working/#comments</comments>
		<pubDate>Mon, 16 Jul 2007 21:39:29 +0000</pubDate>
		<dc:creator>quakey</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://quakey.wordpress.com/2007/07/16/bugzilla-2183-stopped-working/</guid>
		<description><![CDATA[At work we use Mozilla&#8217;s Bugzilla as our bug tracking solution. It is a great tool coming from the open-source community, by the way. We were still stuck on version 2.18.3 since we saw no need to upgrade it. However, today my co-worker told me he ran into an error while submitting a new bug. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quakey.wordpress.com&amp;blog=1183728&amp;post=16&amp;subd=quakey&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>At work we use <a href="http://www.bugzilla.org/">Mozilla&#8217;s Bugzilla</a> as our bug tracking solution. It is a great tool coming from the open-source community, by the way. We were still stuck on version 2.18.3 since we saw no need to upgrade it. However, today my co-worker told me he ran into an error while submitting a new bug. I quickly tried to see what the problem was and as soon as I did a search on open bugs, I saw:</p>
<pre>Software error:

DBD::mysql::st execute failed: Unknown column 'bugs.bug_id' in 'on clause' [for Statement "SELECT bugs.bug_id, bugs.bug_severity, bugs.priority, bugs.bug_status, bugs.resolution, bugs.bug_severity, bugs.priority, bugs.rep_platform, map_assigned_to.login_name, bugs.bug_status, bugs.resolution, bugs.short_desc FROM bugs, profiles AS map_assigned_to  LEFT JOIN bug_group_map  ON bug_group_map.bug_id = bugs.bug_id  WHERE bugs.assigned_to = map_assigned_to.userid AND (bugs.bug_status IN ('UNCONFIRMED','NEW','ASSIGNED','REOPENED')) AND bugs.creation_ts IS NOT NULL AND ((bug_group_map.group_id IS NULL)) GROUP BY bugs.bug_id"] at Bugzilla/DB.pm line 62
	Bugzilla::DB::SendSQL('SELECT bugs.bug_id, bugs.bug_severity, bugs.priority, bugs.bu...') called at [webroot location]/buglist.cgi line 766</pre>
<p>That is odd. First thing I checked was to see if it was a MySQL permission issue. Nope, the user permission settings were just fine. If I ran that SQL statement manually as the Bugzilla user at MySQL console, I got:</p>
<pre>
ERROR 1054 (42S22): Unknown column 'bugs.bug_id' in 'on clause'</pre>
<p>Ok, that showed me something was not right with MySQL, rather than Bugzilla itself (or the Perl DBI and DBD::mysql modules).  I did a quick Google search on that &#8220;ERROR 1054&#8243; and it turned out that it was a bug in MySQL5 with the way it interprets a SQL statement when JOIN is involved. To confirm that, I changed the SQL statement from:</p>
<pre>
SELECT bugs.bug_id, bugs.bug_severity, bugs.priority, bugs.bug_status, bugs.resolution, bugs.bug_severity, bugs.priority, bugs.rep_platform, map_assigned_to.login_name, bugs.bug_status, bugs.resolution, bugs.short_desc FROM bugs, profiles AS map_assigned_to  LEFT JOIN bug_group_map  ON bug_group_map.bug_id = bugs.bug_id  WHERE bugs.assigned_to = map_assigned_to.userid AND (bugs.bug_status IN ('UNCONFIRMED','NEW','ASSIGNED','REOPENED')) AND bugs.creation_ts IS NOT NULL AND ((bug_group_map.group_id IS NULL)) GROUP BY bugs.bug_id</pre>
<p>To (notice the parentheses surrounding &#8220;bugs, profiles AS map_assigned_to&#8221;):</p>
<pre>
SELECT bugs.bug_id, bugs.bug_severity, bugs.priority, bugs.bug_status, bugs.resolution, bugs.bug_severity, bugs.priority, bugs.rep_platform, map_assigned_to.login_name, bugs.bug_status, bugs.resolution, bugs.short_desc FROM (bugs, profiles AS map_assigned_to)  LEFT JOIN bug_group_map  ON bug_group_map.bug_id = bugs.bug_id  WHERE bugs.assigned_to = map_assigned_to.userid AND (bugs.bug_status IN ('UNCONFIRMED','NEW','ASSIGNED','REOPENED')) AND bugs.creation_ts IS NOT NULL AND ((bug_group_map.group_id IS NULL)) GROUP BY bugs.bug_id</pre>
<p>That modified SQL statement worked fine. This also means that to make our version of Bugzilla work with MySQL 5, those statements will need to be changed to work around the bug. That is not an acceptable solution for us to do. I&#8217;m sure the Bugzilla team was aware of the problem and should have a solution for it in the latest version.</p>
<p>I went ahead and upgraded to latest version of Bugzilla which is <a href="http://www.bugzilla.org/news/#release30">3.0</a>. Viola! It worked. Bugzilla now works happily with MySQL 5 and my collegeue can finally go back to his bug-crushing activity. <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/quakey.wordpress.com/16/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/quakey.wordpress.com/16/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/quakey.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/quakey.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/quakey.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/quakey.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/quakey.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/quakey.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/quakey.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/quakey.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/quakey.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/quakey.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/quakey.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/quakey.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/quakey.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/quakey.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quakey.wordpress.com&amp;blog=1183728&amp;post=16&amp;subd=quakey&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://quakey.wordpress.com/2007/07/16/bugzilla-2183-stopped-working/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6cf6e056c89a4e5fee101eb6e15aa816?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">quakey</media:title>
		</media:content>
	</item>
		<item>
		<title>VIM Syntax Highlighting</title>
		<link>http://quakey.wordpress.com/2007/07/11/vim-syntax-highlighting/</link>
		<comments>http://quakey.wordpress.com/2007/07/11/vim-syntax-highlighting/#comments</comments>
		<pubDate>Wed, 11 Jul 2007 06:26:25 +0000</pubDate>
		<dc:creator>quakey</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://quakey.wordpress.com/2007/07/11/vim-syntax-highlighting/</guid>
		<description><![CDATA[For anyone who uses CakePHP 1.2 branch should know the template/view files now end with the .ctp extension (instead of .thtml). However, Vim doesn&#8217;t recognize that extension so syntax highlighting won&#8217;t be activated when you edit the files in Vim. Last thing I want to do is to code in Vim without syntax highlighting! To [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quakey.wordpress.com&amp;blog=1183728&amp;post=14&amp;subd=quakey&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For anyone who uses <a href="http://www.cakephp.org">CakePHP</a> 1.2 branch should know the template/view files now end with the .ctp extension (instead of .thtml). However, Vim doesn&#8217;t recognize that extension so syntax highlighting won&#8217;t be activated when you edit the files in Vim. Last thing I want to do is to code in Vim without syntax highlighting! To remedy the problem, I simply modified the filetype file to tell Vim to syntax highlight .ctp files as .php files. To do so in Ubuntu 7.04, open the filetype:</p>
<pre>
vi /usr/share/vim/vimcurrent/filetype.vim</pre>
<p>Search for the string &#8220;php&#8221; and you will find the lines you need to modify and just add *.ctp like below:</p>
<pre>
" Php, php3, php4, etc.
au BufNewFile,BufRead *.ctp,*.php,*.phpd               setf php</pre>
<p>Next time you open any .ctp file you will be greeted with those beautiful colors again that inspire us to write more wonderful code in PHP. <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/quakey.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/quakey.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/quakey.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/quakey.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/quakey.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/quakey.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/quakey.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/quakey.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/quakey.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/quakey.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/quakey.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/quakey.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/quakey.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/quakey.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/quakey.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/quakey.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quakey.wordpress.com&amp;blog=1183728&amp;post=14&amp;subd=quakey&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://quakey.wordpress.com/2007/07/11/vim-syntax-highlighting/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6cf6e056c89a4e5fee101eb6e15aa816?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">quakey</media:title>
		</media:content>
	</item>
		<item>
		<title>Enable MySQLi Extension in PHP</title>
		<link>http://quakey.wordpress.com/2007/06/22/enable-mysqli-extension-in-php/</link>
		<comments>http://quakey.wordpress.com/2007/06/22/enable-mysqli-extension-in-php/#comments</comments>
		<pubDate>Fri, 22 Jun 2007 19:09:35 +0000</pubDate>
		<dc:creator>quakey</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://quakey.wordpress.com/2007/06/22/enable-mysqli-extension-in-php/</guid>
		<description><![CDATA[In my previous blog, I talked about MySQL&#8217;s stored procedures and how MySQLi support must be enabled in PHP in order to utilize stored procedures. That also means a re-compilation of PHP is necessary. To compile PHP with MySQLi support, you need to add this to PHP configure: --with-mysqli[=location of mysql_client] I always use the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quakey.wordpress.com&amp;blog=1183728&amp;post=11&amp;subd=quakey&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In my <a href="http://quakey.wordpress.com/2007/06/19/learning-mysql-5-stored-procedures/">previous blog</a>, I talked about MySQL&#8217;s stored procedures and how MySQLi support must be enabled in PHP in order to utilize stored procedures.  That also means a re-compilation of PHP is necessary.</p>
<p>To compile PHP with MySQLi support, you need to add this to PHP configure:</p>
<pre>--with-mysqli[=location of mysql_client]</pre>
<p>I always use the binary installs so &#8220;mysql_client&#8221; is in /usr/local/mysql/bin/. So in my case, the option looks like:</p>
<pre>--with-mysqli=/usr/local/mysql/bin/mysql_config</pre>
<p>Do a search on that file if you are not sure where it is on your system. Also, make sure the one you found has the same version as the the version of MySQL installed. You can see the version by running:</p>
<pre>mysql_client --version</pre>
<p>If you are lucky, that is all you need to do to enable MySQLi support. However, if the configure stops with the message, you have a problem:</p>
<pre>configure: error: wrong mysql library version or lib not found. Check config.log for more information</pre>
<p>Don&#8217;t worry. There are two options here. First option is to upgrade MySQL to the latest version which is 5.0.41 (at the time of this writing). 5.0.41 includes the necessary shared library files for PHP to compile for MySQLi support. I am not sure about at what point did MySQL decide to include the files (I know for sure they weren&#8217;t in at least versions before 5.0.27). They are probably going to include the files from this point onward.</p>
<p>Second option is to compile the shared libraries yourself. If that is what you decided to do, please read on.</p>
<p>Next, go on to MySQL&#8217;s <a href="http://dev.mysql.com/downloads/">website</a> and download the source corresponding to the version you have on your system. You may need to look into the <a href="http://downloads.mysql.com/archives.php">Archive</a> section if yours isn&#8217;t the most up-to-date.</p>
<p>Once you have grabbed the source tar file, do:</p>
<pre>tar zxvf mysql-5.x.xx.tar.gz
cd mysql-5.x.xx
./configure --enable-shared
make</pre>
<p>You do not need make install since we will keep the binaries we have installed. All what we are doing is to make libmysqlclient.so (shared object) available for PHP to link to.</p>
<p>After make, do:</p>
<pre>cd libmysql/.libs
cp libmysqlclient.so.15.0.0 /usr/local/mysql/lib
ln -s /usr/local/mysql/lib/libmysqlclient.so.15.0.0 /usr/local/mysql/lib/libmysqlclient.so
ln -s /usr/local/mysql/lib/libmysqlclient.so.15.0.0 /usr/local/mysql/lib/libmysqlclient.so.15</pre>
<p>That is it! Now compile PHP again and you should see MySQLi (mysqli) in phpinfo() output. Remember to restart Apache as well (stop AND start, not graceful restart).</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/quakey.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/quakey.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/quakey.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/quakey.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/quakey.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/quakey.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/quakey.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/quakey.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/quakey.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/quakey.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/quakey.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/quakey.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/quakey.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/quakey.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/quakey.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/quakey.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quakey.wordpress.com&amp;blog=1183728&amp;post=11&amp;subd=quakey&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://quakey.wordpress.com/2007/06/22/enable-mysqli-extension-in-php/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6cf6e056c89a4e5fee101eb6e15aa816?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">quakey</media:title>
		</media:content>
	</item>
		<item>
		<title>Learning MySQL 5 Stored Procedures</title>
		<link>http://quakey.wordpress.com/2007/06/19/learning-mysql-5-stored-procedures/</link>
		<comments>http://quakey.wordpress.com/2007/06/19/learning-mysql-5-stored-procedures/#comments</comments>
		<pubDate>Tue, 19 Jun 2007 20:04:47 +0000</pubDate>
		<dc:creator>quakey</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://quakey.wordpress.com/2007/06/19/learning-mysql-5-stored-procedures/</guid>
		<description><![CDATA[I recently have been trying to pick up Stored Procedure in MySQL 5. It has been pretty straight forward to learn if you already have done any programming before. Just a matter of familiarizing yourself with the syntax. If you are learning Stored Procedure from scratch just like me, here are a few gotchas I&#8217;ve [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quakey.wordpress.com&amp;blog=1183728&amp;post=10&amp;subd=quakey&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I recently have been trying to pick up <a href="http://dev.mysql.com/doc/refman/5.0/en/stored-procedures.html">Stored Procedure</a> in MySQL 5. It has been pretty straight forward to learn if you already have done any programming before. Just a matter of familiarizing yourself with the syntax.</p>
<p>If you are learning Stored Procedure from scratch just like me, here are a few gotchas I&#8217;ve found:</p>
<ul>
<li>DECLARE statements *must* come at the top of each procedure.</li>
<li>Each procedure is tied to a database. Therefore, you must specify the database you want to create procedures for by executing USE database_name before you start working. The same goes with calling the procedures: you either execute USE database_name or call the procedure by prefixing it with the database name (ie, CALL database.procedure()).</li>
<li>To those who use replication, yes, stored procedures get replicated to the slaves as well.</li>
<li>Avoid using variable names that are actually SQL keywords such as DATE. I haven&#8217;t read any documentation that explicitly says not to use the keywords, but I did run into errors when I tried to use one.</li>
<li>MySQLi extension is required to call stored procedures from PHP. This is a big consideration you need to account for if you work on shared hosts that do not have MySQLi (which in turns need PHP 5 and MySQL 5). You will get this error &#8220;PROCEDURE XXX can&#8217;t return a result set in the given context&#8221; if you attempt to execute a stored procedure with the good ol&#8217; &#8220;mysql&#8221; extension.</li>
</ul>
<p>Of course, I have some tips for you as well:</p>
<ul>
<li>You can use any text editor to write the procedures, but MySQL&#8217;s own Query Browser actually works pretty well as an editor for stored procedures. Once a procedure is crated, you can see it by expanding the database tree on the right. Try it.</li>
<li>To dynamically generate SQL statements in procedures, you will need to concatenate different parts of the statement together and send it in as an <a href="http://dev.mysql.com/tech-resources/articles/4.1/prepared-statements.html">Prepared Statement</a>.</li>
</ul>
<p>I hope this blog can save headaches for some of you. By the way, I ran into problems while re-compiling PHP for MySQLi support. I will provide my solution soon so stay tuned.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/quakey.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/quakey.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/quakey.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/quakey.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/quakey.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/quakey.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/quakey.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/quakey.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/quakey.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/quakey.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/quakey.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/quakey.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/quakey.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/quakey.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/quakey.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/quakey.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quakey.wordpress.com&amp;blog=1183728&amp;post=10&amp;subd=quakey&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://quakey.wordpress.com/2007/06/19/learning-mysql-5-stored-procedures/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6cf6e056c89a4e5fee101eb6e15aa816?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">quakey</media:title>
		</media:content>
	</item>
		<item>
		<title>Marijuana</title>
		<link>http://quakey.wordpress.com/2007/06/19/marijuana/</link>
		<comments>http://quakey.wordpress.com/2007/06/19/marijuana/#comments</comments>
		<pubDate>Tue, 19 Jun 2007 02:02:58 +0000</pubDate>
		<dc:creator>quakey</dc:creator>
				<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://quakey.wordpress.com/2007/06/19/marijuana/</guid>
		<description><![CDATA[Why is marijuana outlawed while liquors aren&#8217;t? We all know how messed up people get when they are liquored up. We have heard of all kinds of incidents/accidents due to alcohol in our blood stream but how many of you have heard of marijuana causing the same kinds of problems? Wouldn&#8217;t you think marijuana is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quakey.wordpress.com&amp;blog=1183728&amp;post=5&amp;subd=quakey&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Why is marijuana outlawed while liquors aren&#8217;t? We all know how messed up people get when they are liquored up. We have heard of all kinds of incidents/accidents due to alcohol in our blood stream but how many of you have heard of marijuana causing the same kinds of problems? Wouldn&#8217;t you think marijuana is a &#8220;safer&#8221; way to get &#8220;high&#8221;? However, at the end of the day, everyone (21+) can waltz into a local Safeway and take home a 6-pack while possessing marijuana would get you in jail. Can someone tell me again why the government thinks marijuana is more harmful than alcohol? Someone told me marijuana was outlawed due to racial discrimination which I hope is not true.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/quakey.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/quakey.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/quakey.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/quakey.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/quakey.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/quakey.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/quakey.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/quakey.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/quakey.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/quakey.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/quakey.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/quakey.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/quakey.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/quakey.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/quakey.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/quakey.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quakey.wordpress.com&amp;blog=1183728&amp;post=5&amp;subd=quakey&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://quakey.wordpress.com/2007/06/19/marijuana/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6cf6e056c89a4e5fee101eb6e15aa816?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">quakey</media:title>
		</media:content>
	</item>
		<item>
		<title>Chair on Legs</title>
		<link>http://quakey.wordpress.com/2007/06/07/chair-on-legs/</link>
		<comments>http://quakey.wordpress.com/2007/06/07/chair-on-legs/#comments</comments>
		<pubDate>Thu, 07 Jun 2007 18:54:38 +0000</pubDate>
		<dc:creator>quakey</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://quakey.wordpress.com/2007/06/07/chair-on-legs/</guid>
		<description><![CDATA[I ran across a video today: My immediate thought was &#8220;why?&#8221;. How is it better than a motorized wheel chair? Dr. Evil and Mini Me use motorized wheel chairs to move around in the lair. I don&#8217;t see anyone else who would need one of those chair robots if the evildoers don&#8217;t even have them.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quakey.wordpress.com&amp;blog=1183728&amp;post=8&amp;subd=quakey&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I ran across a video today:</p>
<span style="text-align:center; display: block;"><a href="http://quakey.wordpress.com/2007/06/07/chair-on-legs/"><img src="http://img.youtube.com/vi/NyqQ9B8_jIs/2.jpg" alt="" /></a></span>
<p>My immediate thought was &#8220;why?&#8221;. How is it better than a motorized wheel chair? Dr. Evil and Mini Me use motorized wheel chairs to move around in the lair. I don&#8217;t see anyone else who would need one of those chair robots if the evildoers don&#8217;t even have them.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/quakey.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/quakey.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/quakey.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/quakey.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/quakey.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/quakey.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/quakey.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/quakey.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/quakey.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/quakey.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/quakey.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/quakey.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/quakey.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/quakey.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/quakey.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/quakey.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quakey.wordpress.com&amp;blog=1183728&amp;post=8&amp;subd=quakey&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://quakey.wordpress.com/2007/06/07/chair-on-legs/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6cf6e056c89a4e5fee101eb6e15aa816?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">quakey</media:title>
		</media:content>
	</item>
		<item>
		<title>Zend Studio Client 3.5.1 on Ubuntu 7.04</title>
		<link>http://quakey.wordpress.com/2007/06/06/zend-studio-client-351-on-ubuntu-704/</link>
		<comments>http://quakey.wordpress.com/2007/06/06/zend-studio-client-351-on-ubuntu-704/#comments</comments>
		<pubDate>Wed, 06 Jun 2007 19:37:04 +0000</pubDate>
		<dc:creator>quakey</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://quakey.wordpress.com/2007/06/06/zend-studio-client-351-on-ubuntu-704/</guid>
		<description><![CDATA[Today the trial period of Zend Studio 5 expired. I like version 5 a lot as it seems more polished. Too bad it expired so I had to revert back to version 3 since we have the license for version 3 only. Anyway, I ran into a problem while installing: Preparing to install... Extracting the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quakey.wordpress.com&amp;blog=1183728&amp;post=7&amp;subd=quakey&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today the trial period of Zend Studio 5 expired. I like version 5 a lot as it seems more polished. Too bad it expired so I had to revert back to version 3 since we have the license for version 3 only. Anyway, I ran into a problem while installing:</p>
<pre>Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
nawk: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
hostname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

Launching installer...

grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/tmp/install.dir.17707/Linux/resource/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory</pre>
<p>Luckily, it didn&#8217;t take me much time to hunt down a solution directly from Zend&#8217;s <a href="http://www.zend.com/support/knowledgebase.php?kbid=184&amp;view_only=1">Knowledge Base</a>. Good stuff and it worked.</p>
<p>By the way, does anyone have other recommendation for a good PHP editor? I tried <a href="http://www.phpeclipse.de/">PHPEclipse</a> but ran into some problems and I couldn&#8217;t even open a PHP file to edit. Oh well, guess I will have to stick with Zend Studio for a while.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/quakey.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/quakey.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/quakey.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/quakey.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/quakey.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/quakey.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/quakey.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/quakey.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/quakey.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/quakey.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/quakey.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/quakey.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/quakey.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/quakey.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/quakey.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/quakey.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=quakey.wordpress.com&amp;blog=1183728&amp;post=7&amp;subd=quakey&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://quakey.wordpress.com/2007/06/06/zend-studio-client-351-on-ubuntu-704/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6cf6e056c89a4e5fee101eb6e15aa816?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">quakey</media:title>
		</media:content>
	</item>
	</channel>
</rss>
