<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><!-- generator="FeedCreator 1.7.2" --><rss xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
    <channel>
        <title>KvZ Comments</title>
        <description>Kevin van Zonneveld's techblog.</description>
        <link>http://kevin.vanzonneveld.net/</link>
        <lastBuildDate>Tue, 10 Nov 2009 07:30:09 +0100</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/kvz-comments" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
            <title>Comment by Andrew on: List of social bookmarking sites</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/6ceNaMTzbbI/</link>
            <description>http://www.joontz.com is another one.&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/6ceNaMTzbbI" height="1" width="1"/&gt;</description>
            <author>Andrew</author>
            <pubDate>Tue, 10 Nov 2009 03:11:24 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/list_of_social_bookmarking_sites/#comment_3569</feedburner:origLink></item>
        <item>
            <title>Comment by Boby321pk on: List of social bookmarking sites</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/1I7FvKyzNUY/</link>
            <description>This information is very usefull for me thanx for the team&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/1I7FvKyzNUY" height="1" width="1"/&gt;</description>
            <author>Boby321pk</author>
            <pubDate>Mon, 09 Nov 2009 15:05:54 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/list_of_social_bookmarking_sites/#comment_3567</feedburner:origLink></item>
        <item>
            <title>Comment by rana on: Create daemons in PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/V2XExeGu0jI/</link>
            <description>here is my code

#!/usr/bin/php -q
&amp;lt;?php
require_once &amp;quot;System/Daemon.php&amp;quot;;                 // Include the
Class

 
System_Daemon::setOption(&amp;quot;appName&amp;quot;, &amp;quot;ct&amp;quot;);  // Minimum
configuration
System_Daemon::start();                           // Spawn Deamon!
	
$path = System_Daemon::writeAutoRun();
	while(1)
	{
	sleep(5);	
	}
	
?&amp;gt;

why i cant start/stop the daemon using sudo /ect/init.d/ct start or stop
??

i'm using ubuntu 8.10 and daemon is running nicely using sudo ./daemon.php&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/V2XExeGu0jI" height="1" width="1"/&gt;</description>
            <author>rana</author>
            <pubDate>Mon, 09 Nov 2009 13:00:36 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/create_daemons_in_php/#comment_3566</feedburner:origLink></item>
        <item>
            <title>Comment by Kevin on: Create daemons in PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/Wuzly_GrjAA/</link>
            <description>@ Sun Location: The Troubleshooting section covers your problem&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/Wuzly_GrjAA" height="1" width="1"/&gt;</description>
            <author>Kevin</author>
            <pubDate>Sun, 08 Nov 2009 13:48:29 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/create_daemons_in_php/#comment_3565</feedburner:origLink></item>
        <item>
            <title>Comment by Kevin on: Schedule automatic updates on Ubuntu</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/rp5LK_70pcM/</link>
            <description>@ Sid: sudo can't handle that syntax. leave out either sudo or those
parenthesis&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/rp5LK_70pcM" height="1" width="1"/&gt;</description>
            <author>Kevin</author>
            <pubDate>Sun, 08 Nov 2009 13:47:56 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/schedule_automatic_updates_on_ubuntu/#comment_3564</feedburner:origLink></item>
        <item>
            <title>Comment by Kevin on: Generate HTML with PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/MW2VBttIi4M/</link>
            <description>@ Quazatron: Glad you like it!&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/MW2VBttIi4M" height="1" width="1"/&gt;</description>
            <author>Kevin</author>
            <pubDate>Sun, 08 Nov 2009 13:46:15 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/generate_html_with_php/#comment_3563</feedburner:origLink></item>
        <item>
            <title>Comment by Kevin on: Make SSH connections with PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/Ub0c1NYCDXM/</link>
            <description>@ Jafar: That's not enough to go on sorry, I also don't run your OS so
can't test anything. Maybe you have more luck with the pure PHP
implementation found here:
http://phpseclib.sourceforge.net/documentation/net.html&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/Ub0c1NYCDXM" height="1" width="1"/&gt;</description>
            <author>Kevin</author>
            <pubDate>Sun, 08 Nov 2009 13:45:42 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/#comment_3562</feedburner:origLink></item>
        <item>
            <title>Comment by Sun Location on: Create daemons in PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/1e4L29FxdIo/</link>
            <description>Thanks you very much for this !
I've try the application but I have this error : MySQL has gone away&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/1e4L29FxdIo" height="1" width="1"/&gt;</description>
            <author>Sun Location</author>
            <pubDate>Sat, 07 Nov 2009 11:04:35 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/create_daemons_in_php/#comment_3561</feedburner:origLink></item>
        <item>
            <title>Comment by Sid on: Schedule automatic updates on Ubuntu</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/q-yYULEZ8gg/</link>
            <description>on Ubuntu 9.04 (Jaunty) server, I executed

sudo (/usr/bin/aptitude -y update &amp;amp;&amp;amp; /usr/bin/aptitude -y
safe-upgrade) 2&amp;gt;&amp;amp;1 &amp;gt;&amp;gt; /var/log/auto_update.log

and getting the following error:

-bash: syntax error near unexpected token `/usr/bin/aptitude'

Is it because it's not meant to be executed like that?&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/q-yYULEZ8gg" height="1" width="1"/&gt;</description>
            <author>Sid</author>
            <pubDate>Wed, 04 Nov 2009 09:30:58 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/schedule_automatic_updates_on_ubuntu/#comment_3560</feedburner:origLink></item>
        <item>
            <title>Comment by Quazatron on: Generate HTML with PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/Ke-L2YyAfNM/</link>
            <description>NIce work! Just what I need for a quick and dirty database frontend.&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/Ke-L2YyAfNM" height="1" width="1"/&gt;</description>
            <author>Quazatron</author>
            <pubDate>Tue, 03 Nov 2009 10:50:13 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/generate_html_with_php/#comment_3557</feedburner:origLink></item>
        <item>
            <title>Comment by Łukasz Wojciechowski on: How virtualization will improve your code</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/y3mWyV-ffmw/</link>
            <description>Hi

I had the same idea to virtualize my dev environment so I can quickly move
it to other computer or share with coworkers.

Basically I used the same techique but changed network configuration.

I created additional &amp;quot;host only&amp;quot; network adapter in VirtualBox
and in my virtual server configuration I defined additional network
interface of type &amp;quot;host adapter only&amp;quot;.

So finally virtual server has two interfaces. First of type NAT wich gives
me internet access and second of type &amp;quot;hsot only interface&amp;quot; which
gives me communication between my host system and virtual server.

Best regards&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/y3mWyV-ffmw" height="1" width="1"/&gt;</description>
            <author>Łukasz Wojciechowski</author>
            <pubDate>Sun, 01 Nov 2009 23:11:23 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/how_virtualization_will_improve_your_code/#comment_3555</feedburner:origLink></item>
        <item>
            <title>Comment by Mike on: Make SSH connections with PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/q-Q65L8iiqs/</link>
            <description>I found a great SSH2 client at:
http://verticalevolution.com/index.php?/archives/4-PHP-Client-SSH.html

It has an easy interface and a good wrapper.&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/q-Q65L8iiqs" height="1" width="1"/&gt;</description>
            <author>Mike</author>
            <pubDate>Wed, 28 Oct 2009 03:05:08 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/#comment_3547</feedburner:origLink></item>
        <item>
            <title>Comment by Jafar on: Make SSH connections with PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/1qw1pINHHP8/</link>
            <description>Hi,  great doc.  I have followed the steps. And, I am able to connect but I
am not able to send a file.  I do not get any error messages either.  Any
thoughts?  I am running, RHent5.4 and Zend Server CE (apache 2.x, php
5.2.6).&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/1qw1pINHHP8" height="1" width="1"/&gt;</description>
            <author>Jafar</author>
            <pubDate>Tue, 27 Oct 2009 21:29:30 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/#comment_3545</feedburner:origLink></item>
        <item>
            <title>Comment by Shamun on: My new IDE: NetBeans</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/hDQ7Y8rGkrs/</link>
            <description>Kevin and Guys,

I would suggestie all the programmeurs!! Including you too ;) ,  the
moment you are feeling what IDE can do.

Get those:

1. Notepad++ ( i love it, want to invest/donate for it )

- http://notepad-plus.sourceforge.net/nl/site.htm
- make your own delphi, c/c++ plugins

2. Netbeans ( i hate one thing he dont have indents like notepad++, and
performance in my 512mb ram laptop from 1995)

3. Compare notepad++ VS netbeans first, 
then do what ever you want&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/hDQ7Y8rGkrs" height="1" width="1"/&gt;</description>
            <author>Shamun</author>
            <pubDate>Tue, 27 Oct 2009 14:19:55 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/my_new_ide_netbeans/#comment_3544</feedburner:origLink></item>
        <item>
            <title>Comment by jatrn on: Create daemons in PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/553-u5n-hvA/</link>
            <description>kevin: sounds good. just let me know  how to do it :)
thanks a lot&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/553-u5n-hvA" height="1" width="1"/&gt;</description>
            <author>jatrn</author>
            <pubDate>Mon, 26 Oct 2009 16:05:00 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/create_daemons_in_php/#comment_3543</feedburner:origLink></item>
        <item>
            <title>Comment by Kevin on: Create daemons in PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/gQwZmNIhtqo/</link>
            <description>@ wregen &amp;amp; aeuglein: I don't have one yet, but there are plans to team
up with System_Socket which is probably getting a revamp:
http://article.gmane.org/gmane.comp.php.pear.devel/48419
After that, life should be sweet for you guys

@ Kees: There has to be some logging or something otherwise growing going
on in your code. Cause if you run System_Daemon without custom code, this
does not happen. 

@jatrn: I will change the log level to DEBUG, so that you can then choose
to turn off debug logging, how does that sound?&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/gQwZmNIhtqo" height="1" width="1"/&gt;</description>
            <author>Kevin</author>
            <pubDate>Sun, 25 Oct 2009 18:48:17 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/create_daemons_in_php/#comment_3542</feedburner:origLink></item>
        <item>
            <title>Comment by Kevin on: Schedule tasks on Linux using crontab</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/EAayiwlCD50/</link>
            <description>@ Derek: hehe thanks : )&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/EAayiwlCD50" height="1" width="1"/&gt;</description>
            <author>Kevin</author>
            <pubDate>Sun, 25 Oct 2009 13:17:18 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/schedule_tasks_on_linux_using_crontab/#comment_3541</feedburner:origLink></item>
        <item>
            <title>Comment by Kevin on: Create short IDs with PHP - Like Youtube or TinyURL</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/1AnjsWJWFo8/</link>
            <description>@ Tanzmusik: Well it was never the goal of this function to be used as a
security measure, but Simon Franz was kind enough to provide a patch for
that nonetheless:

http://github.com/kvz/kvzlib/commit/323e9c3bb3e489150bdddea51a785e1e931003d7&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/1AnjsWJWFo8" height="1" width="1"/&gt;</description>
            <author>Kevin</author>
            <pubDate>Sun, 25 Oct 2009 13:16:51 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/create_short_ids_with_php_like_youtube_or_tinyurl/#comment_3540</feedburner:origLink></item>
        <item>
            <title>Comment by jatrn on: Create daemons in PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/aVcoWLrRHUY/</link>
            <description>The log of my daemon is full of:
info: phpvoices daemon received signal: child.

Since my PHP script is a constant loop (with 1 second sleep), I'm getting
entry to the log every second. Is there any way to turn this notification
off? 

Thanks again for this package.
jatrn&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/aVcoWLrRHUY" height="1" width="1"/&gt;</description>
            <author>jatrn</author>
            <pubDate>Sat, 24 Oct 2009 02:46:55 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/create_daemons_in_php/#comment_3538</feedburner:origLink></item>
        <item>
            <title>Comment by aeuglein on: Create daemons in PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/QhDJXYRj2GM/</link>
            <description>I have to say I am also interested in the simple example &amp;quot;wregen&amp;quot;
asked for! #91&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/QhDJXYRj2GM" height="1" width="1"/&gt;</description>
            <author>aeuglein</author>
            <pubDate>Tue, 20 Oct 2009 20:30:40 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/create_daemons_in_php/#comment_3535</feedburner:origLink></item>
        <item>
            <title>Comment by aobeda on: Survive heavy traffic with your webserver</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/Z0Mm-iV1P70/</link>
            <description>thank yuo 

vary good&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/Z0Mm-iV1P70" height="1" width="1"/&gt;</description>
            <author>aobeda</author>
            <pubDate>Mon, 19 Oct 2009 16:03:23 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/survive_heavy_traffic_with_your_webserver/#comment_3533</feedburner:origLink></item>
        <item>
            <title>Comment by aobeda on: Survive heavy traffic with your webserver</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/e8yQYK-dYCA/</link>
            <description>thank yuo  
 very good&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/e8yQYK-dYCA" height="1" width="1"/&gt;</description>
            <author>aobeda</author>
            <pubDate>Mon, 19 Oct 2009 14:23:00 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/survive_heavy_traffic_with_your_webserver/#comment_3531</feedburner:origLink></item>
        <item>
            <title>Comment by wregen on: Create daemons in PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/fJCm_PRl18M/</link>
            <description>Hi, you have mentioned that one possible application of System_Daemon is :
&amp;quot;keep your application listening (on a socket for example)&amp;quot;.

Can you provide a simple example? This will help me a lot.

Thank you.&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/fJCm_PRl18M" height="1" width="1"/&gt;</description>
            <author>wregen</author>
            <pubDate>Sun, 18 Oct 2009 07:29:49 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/create_daemons_in_php/#comment_3529</feedburner:origLink></item>
        <item>
            <title>Comment by Shawn on: Survive heavy traffic with your webserver</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/0cgAC0APp6E/</link>
            <description>awesome tips. your website has been a pot of gold for me, keep up the good
work!&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/0cgAC0APp6E" height="1" width="1"/&gt;</description>
            <author>Shawn</author>
            <pubDate>Sat, 17 Oct 2009 21:18:13 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/survive_heavy_traffic_with_your_webserver/#comment_3528</feedburner:origLink></item>
        <item>
            <title>Comment by Kees on: Create daemons in PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/yHffbcMYGDw/</link>
            <description>Hei David, 

I'm using our solution to create several daemons ( 20 + ) which
communicate with each other thru spread (ipc), however, when creating more
then 12 daemonson one server, it seems that the cpu usage dramaticly
increases(measured thru 'top' ), is that something you are aware of, or is
this something php specific ?&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/yHffbcMYGDw" height="1" width="1"/&gt;</description>
            <author>Kees</author>
            <pubDate>Sat, 17 Oct 2009 20:51:40 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/create_daemons_in_php/#comment_3527</feedburner:origLink></item>
        <item>
            <title>Comment by AMartin on: Make ISO images on Linux</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/ZwT8LE_OaoE/</link>
            <description>Simple and great for people liking cmd. For people who like
&amp;quot;interactive&amp;quot; way You can use k3b for example with option
&amp;quot;only make an image&amp;quot;.
Cheers&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/ZwT8LE_OaoE" height="1" width="1"/&gt;</description>
            <author>AMartin</author>
            <pubDate>Fri, 16 Oct 2009 16:14:04 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/make_iso_images_on_linux/#comment_3525</feedburner:origLink></item>
        <item>
            <title>Comment by Derek on: Schedule tasks on Linux using crontab</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/zSgHSNXHw9w/</link>
            <description>thanks Kevin, you are the Explainer!&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/zSgHSNXHw9w" height="1" width="1"/&gt;</description>
            <author>Derek</author>
            <pubDate>Wed, 14 Oct 2009 18:23:22 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/schedule_tasks_on_linux_using_crontab/#comment_3522</feedburner:origLink></item>
        <item>
            <title>Comment by Tanzmusik on: Create short IDs with PHP - Like Youtube or TinyURL</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/asI75kmyw3g/</link>
            <description>wow, just great.
The only improvement i mean is to modify the code by adding or removing
some letters before use. If you do not modify, then everyone else can
reveal your primary key structure.&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/asI75kmyw3g" height="1" width="1"/&gt;</description>
            <author>Tanzmusik</author>
            <pubDate>Sun, 11 Oct 2009 12:21:48 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/create_short_ids_with_php_like_youtube_or_tinyurl/#comment_3521</feedburner:origLink></item>
        <item>
            <title>Comment by rajeshnair on: Schedule tasks on Linux using crontab</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/vFSwwWENSyQ/</link>
            <description>Really helpful&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/vFSwwWENSyQ" height="1" width="1"/&gt;</description>
            <author>rajeshnair</author>
            <pubDate>Sun, 11 Oct 2009 03:54:53 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/schedule_tasks_on_linux_using_crontab/#comment_3520</feedburner:origLink></item>
        <item>
            <title>Comment by earth host on: Survive heavy traffic with your webserver</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/EKF2DzrI7UY/</link>
            <description>excelant article nicely done&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/EKF2DzrI7UY" height="1" width="1"/&gt;</description>
            <author>earth host</author>
            <pubDate>Fri, 09 Oct 2009 12:52:22 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/survive_heavy_traffic_with_your_webserver/#comment_3518</feedburner:origLink></item>
        <item>
            <title>Comment by Kevin on: Create daemons in PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/Qys-HSPFnFY/</link>
            <description>@ David: You may want to find out and see if you can use PEAR's Fork class
in combination with System_Daemon to help you with that.

@ Joe: Thanks for the comments, np. Would it be possible for you to share
the code somewhere? maybe pastebin? I'm having a hard time doing all this
in my head. Give me something to test with and we can take it from there&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/Qys-HSPFnFY" height="1" width="1"/&gt;</description>
            <author>Kevin</author>
            <pubDate>Fri, 09 Oct 2009 11:16:24 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/create_daemons_in_php/#comment_3517</feedburner:origLink></item>
        <item>
            <title>Comment by Kevin on: Make SSH connections with PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/NpYkBLKEXT8/</link>
            <description>@ nebj00la: Using shell &amp;amp; many sleeps helped me when talking to
routers.

@ nathan: Before writing a class, checkout:
http://www.seoegghead.com/blog/seo/ssh2-php-howto-guide-ssh-connections-made-easy-in-php-p343.html
(Jaimie Sirovich already did it)

and
http://pear.php.net/pepr/pepr-proposal-show.php?id=586
A PEAR class in the making&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/NpYkBLKEXT8" height="1" width="1"/&gt;</description>
            <author>Kevin</author>
            <pubDate>Fri, 09 Oct 2009 11:11:03 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/#comment_3516</feedburner:origLink></item>
        <item>
            <title>Comment by Kevin on: Create short IDs with PHP - Like Youtube or TinyURL</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/L9h2M0Xo7iI/</link>
            <description>@ BnoL: This is not intended for security. Pure usability. If you want
security you should probably use a lookup table or use UUIDS for records
directly.&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/L9h2M0Xo7iI" height="1" width="1"/&gt;</description>
            <author>Kevin</author>
            <pubDate>Fri, 09 Oct 2009 11:07:54 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/create_short_ids_with_php_like_youtube_or_tinyurl/#comment_3515</feedburner:origLink></item>
        <item>
            <title>Comment by nebj00la on: Make SSH connections with PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/36khX8Is_bc/</link>
            <description>Kevin,

Here's the SSH daemon running on the remote device:

SSH-2.0-RomSShell_4.31

Thanks,
John&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/36khX8Is_bc" height="1" width="1"/&gt;</description>
            <author>nebj00la</author>
            <pubDate>Tue, 06 Oct 2009 17:37:46 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/#comment_3509</feedburner:origLink></item>
        <item>
            <title>Comment by nebj00la on: Make SSH connections with PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/sHZhx4wt0Kk/</link>
            <description>Kevin,

Great article. The code works great against a linux server, but when I try
to run it against a router I get the following repetitive output:

return rc = -1
return rc = -1
return rc = -1
return rc = -1
etc. etc.

Please advise,

Thanks,
John&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/sHZhx4wt0Kk" height="1" width="1"/&gt;</description>
            <author>nebj00la</author>
            <pubDate>Tue, 06 Oct 2009 17:34:42 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/#comment_3508</feedburner:origLink></item>
        <item>
            <title>Comment by macrocode on: Make SSH connections with PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/ops0XmxJwf0/</link>
            <description>2 words: THANK YOU!&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/ops0XmxJwf0" height="1" width="1"/&gt;</description>
            <author>macrocode</author>
            <pubDate>Tue, 06 Oct 2009 03:31:39 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/#comment_3507</feedburner:origLink></item>
        <item>
            <title>Comment by nathan on: Make SSH connections with PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/D2TVp1VwuYQ/</link>
            <description>very nice examples, 
haven't tried them yet, 
but i'm going to in a sec.

will probably use your tips to create an ssh class.

wonder if it'll work on my wamp as well.

thanks for the help in getting me started.

Nathan.&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/D2TVp1VwuYQ" height="1" width="1"/&gt;</description>
            <author>nathan</author>
            <pubDate>Sun, 04 Oct 2009 11:56:10 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/#comment_3504</feedburner:origLink></item>
        <item>
            <title>Comment by Joe on: Create daemons in PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/frnb8xdGyaY/</link>
            <description>At last, I think I've found the smoking gun:

First, I tried putting some cleanup immediately after the main loop. Even
if I send SIGTERM to the main pid, I never seem to make it out of the loop
to do any cleanup. Nothing gets logged.

Second, I set up my own handler for SIGTERM. In here, I look at the value
of $child which points to our child process object (wherein there is a
shutdown function). However, $child is null!

This could be a result of the process forking, and the handler is really
occurring in the pre-daemon world. If that's so, how do I communicate to
the other side to shut things down gracefully?

(Apologies for the multiple stream-of-consciousness posts! Maybe someone
else is having the same issue though, so this might help.)&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/frnb8xdGyaY" height="1" width="1"/&gt;</description>
            <author>Joe</author>
            <pubDate>Wed, 30 Sep 2009 16:30:39 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/create_daemons_in_php/#comment_3502</feedburner:origLink></item>
        <item>
            <title>Comment by Joe on: Create daemons in PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/viqNWV14Pao/</link>
            <description>OK, I have to call System_Daemon::defaultSigHandler($sig) (passing in the
signal that was passed to my own handler). Silly me. :)&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/viqNWV14Pao" height="1" width="1"/&gt;</description>
            <author>Joe</author>
            <pubDate>Wed, 30 Sep 2009 16:01:58 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/create_daemons_in_php/#comment_3501</feedburner:origLink></item>
        <item>
            <title>Comment by Joe on: Create daemons in PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/W2zcagRAdBU/</link>
            <description>Ahh, I've removed the child process from the equation. Even if I never run
it, TERM just won't make this pup quit.

I did try setSigHandler for SIGTERM, and my function _does_ get called,
but the loop keeps on going. I guess I could set runningOkay to TRUE but
this isn't an error condition we're bailing out of. :-o

Clues welcome/appreciated!&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/W2zcagRAdBU" height="1" width="1"/&gt;</description>
            <author>Joe</author>
            <pubDate>Wed, 30 Sep 2009 15:45:13 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/create_daemons_in_php/#comment_3500</feedburner:origLink></item>
        <item>
            <title>Comment by Joe on: Create daemons in PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/GCE6TSWtLLA/</link>
            <description>First, this is fantastic!!! (Also, this is fantastic!)

In my case I'm using this for a monitor that dips into a data store every
ten seconds. The monitor launches a child process to munch on said data.
Now, this process is best kept open for a prolonged period, only to be
closed after 60 minutes of inactivity (although if we absolutely have to
shut it down, that's fine too).

That's where the problem is, shutting it down. If I send TERM to the
monitor, it won't go away until that child process shuts down. However, in
the monitor, the last thing I do (once isDying() is true) is exit my loop
and check for that child process. If it's around, we tell it to exit. I
never get to that part though. It' s as if isDying() isn't returning TRUE
after sending TERM to the daemon. Hmm ...&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/GCE6TSWtLLA" height="1" width="1"/&gt;</description>
            <author>Joe</author>
            <pubDate>Wed, 30 Sep 2009 15:38:59 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/create_daemons_in_php/#comment_3499</feedburner:origLink></item>
        <item>
            <title>Comment by David on: Create daemons in PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/uiVP6CdR-IM/</link>
            <description>Hi Kevin, 

Good lib. Just wondering if you can give me some advice about spawning
children from within the daemon. Essentially I want to start x instances of
the daemon, that run (looking for jobs from a Gearman server) for the
entire time the daemon is running.

This may not be the best approach. I imagine that spawning children AS
work/jobs come into the daemon would be a more efficient, however I haven't
been able to get that working with System_Daemon yet.

So far this is what I'm doing (and seems to be working) and I'm wondering
if there are any problems with something like the following:

[code=&amp;quot;php&amp;quot;]
for($i=0; $i&amp;lt;3; $i++) {
	$pid = pcntl_fork();
	if ($pid == -1) {
		exit('Could not fork children');
	} else if ($pid) {
		System_Daemon::log(System_Daemon::LOG_INFO, 'Spawned child: ' . $pid);
	} else {
		while (!System_Daemon::isDying()) {
			// do something like look for a job from gearman
			$gmw-&amp;gt;work();
			System_Daemon::iterate(1);
		}
		System_Daemon::stop();
	}
}
[/code]

I understand that potentially if the children exit they could become
zombies, however I'm not sure if that applies in this situation as I want
the children to run for the life of the parent (daemon).

Any help / guidance would be greatly appreciated.&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/uiVP6CdR-IM" height="1" width="1"/&gt;</description>
            <author>David</author>
            <pubDate>Wed, 23 Sep 2009 13:35:05 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/create_daemons_in_php/#comment_3493</feedburner:origLink></item>
        <item>
            <title>Comment by Llorca on: Make SSH connections with PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/teJFmxFm8Tg/</link>
            <description>Kevin,

Thanks for the link to the SSH2 Wrapper, that looks like an excellent base
for me to start with.

Much appreciated. I've got some minor configuration issues too where PHP
is barking about some stuff, but I'm sure I'll get it sorted soon enough.&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/teJFmxFm8Tg" height="1" width="1"/&gt;</description>
            <author>Llorca</author>
            <pubDate>Tue, 22 Sep 2009 20:55:09 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/#comment_3492</feedburner:origLink></item>
        <item>
            <title>Comment by Alfredo Rivera on: Make SSH connections with PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/4ttdVZsMHV8/</link>
            <description>I Have tried so many times to install this on a Centos 5 Server, but for
some reason it couldnt be installed, I had 2 shell experts working for 4
hours and none of both could successfully install this function, Does
anyone hear about this isue?&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/4ttdVZsMHV8" height="1" width="1"/&gt;</description>
            <author>Alfredo Rivera</author>
            <pubDate>Fri, 18 Sep 2009 14:55:17 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/#comment_3489</feedburner:origLink></item>
        <item>
            <title>Comment by BnoL on: Create short IDs with PHP - Like Youtube or TinyURL</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/YISTu2DMK0Y/</link>
            <description>Hi, nice tut.

But I think every encode script need to have a &amp;quot;password key&amp;quot; so
that noone else can decode your ID :) (unless he/she knows your password
key).&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/YISTu2DMK0Y" height="1" width="1"/&gt;</description>
            <author>BnoL</author>
            <pubDate>Thu, 17 Sep 2009 17:22:24 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/create_short_ids_with_php_like_youtube_or_tinyurl/#comment_3486</feedburner:origLink></item>
        <item>
            <title>Comment by Kevin on: Create daemons in PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/MVXCAos-sB8/</link>
            <description>@ Remiko: This should prove to be enough:

[CODE=&amp;quot;BASH&amp;quot;]
./Daemon.php
./Daemon
./Daemon/Options.php
./Daemon/OS.php
./Daemon/OS
./Daemon/OS/Ubuntu.php
./Daemon/OS/Debian.php
./Daemon/OS/Fedora.php
./Daemon/OS/BSD.php
./Daemon/OS/RedHat.php
./Daemon/OS/Windows.php
./Daemon/OS/Linux.php
./Daemon/OS/Exception.php
./Daemon/Exception.php
[/CODE]

You could even also leave out the operating systems you're not planning on
using.

But on the other hand: if you're going to need multiple files anyway, why
not just add the entire dir. It will really only add a few kbs.&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/MVXCAos-sB8" height="1" width="1"/&gt;</description>
            <author>Kevin</author>
            <pubDate>Thu, 17 Sep 2009 10:18:03 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/create_daemons_in_php/#comment_3485</feedburner:origLink></item>
        <item>
            <title>Comment by Kevin on: Schedule automatic updates on Ubuntu</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/Km7zVr7QNJQ/</link>
            <description>@ Enrico: Well I already setup my crontab as root, so for me there was no
need, but yeah you could do it that way as well. The user is optional.

@ Ron: For untrusted packages something like this should work:

[CODE=&amp;quot;BASH&amp;quot;]
aptitude -o Aptitude::Cmdline::ignore-trust-violations=true -y update
[/CODE]&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/Km7zVr7QNJQ" height="1" width="1"/&gt;</description>
            <author>Kevin</author>
            <pubDate>Thu, 17 Sep 2009 10:13:39 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/schedule_automatic_updates_on_ubuntu/#comment_3484</feedburner:origLink></item>
        <item>
            <title>Comment by Kevin on: Survive heavy traffic with your webserver</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/fm6zItigUzg/</link>
            <description>@ DV: Yeah like I said, I should probably redo this again some time cause
the article is more than 2 years old now : )&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/fm6zItigUzg" height="1" width="1"/&gt;</description>
            <author>Kevin</author>
            <pubDate>Thu, 17 Sep 2009 10:10:22 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/survive_heavy_traffic_with_your_webserver/#comment_3483</feedburner:origLink></item>
        <item>
            <title>Comment by Kevin on: Determine SID of Windows user</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/PPGcBwQ5m_A/</link>
            <description>@ calanan &amp;amp; Adam: Thanks for sharing&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/PPGcBwQ5m_A" height="1" width="1"/&gt;</description>
            <author>Kevin</author>
            <pubDate>Thu, 17 Sep 2009 10:09:41 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/determine_sid_of_windows_user/#comment_3482</feedburner:origLink></item>
        <item>
            <title>Comment by Kevin on: Flush memcached using BASH</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/8fr9F1KSmwk/</link>
            <description>@ Robin Speekenbrink: thx. No not really. Guess I'm just really used to
xargs as it gives you the power to do anything with files found. But
-delete should work just fine!&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/8fr9F1KSmwk" height="1" width="1"/&gt;</description>
            <author>Kevin</author>
            <pubDate>Thu, 17 Sep 2009 10:09:17 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/flush_memcached_using_bash/#comment_3481</feedburner:origLink></item>
        <item>
            <title>Comment by Remiko on: Create daemons in PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/lRPXzMCiZF0/</link>
            <description>Could I know the minimum file lists in standalone packages to let the
daemon without PEAR?&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/lRPXzMCiZF0" height="1" width="1"/&gt;</description>
            <author>Remiko</author>
            <pubDate>Sat, 12 Sep 2009 14:10:08 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/create_daemons_in_php/#comment_3476</feedburner:origLink></item>
        <item>
            <title>Comment by Mattias on: Schedule tasks on Linux using crontab</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/18FBBiuLuZQ/</link>
            <description>Very nice! Thanks Kevin.&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/18FBBiuLuZQ" height="1" width="1"/&gt;</description>
            <author>Mattias</author>
            <pubDate>Fri, 11 Sep 2009 14:01:09 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/schedule_tasks_on_linux_using_crontab/#comment_3474</feedburner:origLink></item>
        <item>
            <title>Comment by Ron on: Schedule automatic updates on Ubuntu</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/f2YQcNIrMYo/</link>
            <description>Great article and just what I need BUT a problem:
System = Ubuntu 9.04

Log shows following: 
************* clip *************
Untrusted packages could compromise your system's security.
You should only proceed with the installation if you are certain that
this is what you want to do.

  wine-gecko 

Do you want to ignore this warning and proceed anyway?
To continue, enter &amp;quot;Yes&amp;quot;; to abort, enter &amp;quot;No&amp;quot;:
Abort.
********** end clip **************

Problem is that the -y does not answer yes to the last prompt and the
update just sits.

I confirmed this by running the commands manually in terminal ... it needs
a &amp;quot; yes &amp;quot; and does not respond to a &amp;quot; y &amp;quot;&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/f2YQcNIrMYo" height="1" width="1"/&gt;</description>
            <author>Ron</author>
            <pubDate>Thu, 10 Sep 2009 14:10:58 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/schedule_automatic_updates_on_ubuntu/#comment_3473</feedburner:origLink></item>
        <item>
            <title>Comment by Enrico on: Schedule automatic updates on Ubuntu</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/AQCsQP-1zJA/</link>
            <description>Nice article, it helped me a lot. But shouldn't crontab require the user
executing the scheduled command? maybe the line should be like this....

0 1 * * * root (/usr/bin/aptitude -y update &amp;amp;&amp;amp; /usr/bin/aptitude
-y safe-upgrade) 2&amp;gt;&amp;amp;1 &amp;gt;&amp;gt; /var/log/auto_update.log

In my ubuntu system i also had to &amp;quot; touch
/var/log/auto_update.log&amp;quot;

Am i on the light side of the Force or maybe too much tired? ;)&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/AQCsQP-1zJA" height="1" width="1"/&gt;</description>
            <author>Enrico</author>
            <pubDate>Wed, 09 Sep 2009 10:53:30 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/schedule_automatic_updates_on_ubuntu/#comment_3469</feedburner:origLink></item>
        <item>
            <title>Comment by DV on: Survive heavy traffic with your webserver</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/EwvDp6h_xsk/</link>
            <description>I don't know if anyone has mentioned it yet, but nginx is an excellent
webserver for those in need to save memory/CPU while serving max amount of
users. I use nginx in conjunction with php-fpm and xcache, and things fly.
This is a great article!&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/EwvDp6h_xsk" height="1" width="1"/&gt;</description>
            <author>DV</author>
            <pubDate>Tue, 08 Sep 2009 16:47:03 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/survive_heavy_traffic_with_your_webserver/#comment_3466</feedburner:origLink></item>
        <item>
            <title>Comment by calanan on: Determine SID of Windows user</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/r_CY1c0ajB8/</link>
            <description>Great tip, just what I was looking for.  Thanks. 

p.s. Works on XP SP3&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/r_CY1c0ajB8" height="1" width="1"/&gt;</description>
            <author>calanan</author>
            <pubDate>Tue, 08 Sep 2009 14:59:24 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/determine_sid_of_windows_user/#comment_3465</feedburner:origLink></item>
        <item>
            <title>Comment by Robin Speekenbrink on: Flush memcached using BASH</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/bCMLwfbvsvg/</link>
            <description>Nice and to the point article...

a little off topic maybe: why not use the -delete option in find to delete
all the found files instead of piping it to xargs etc? Does that have a
special reason to it?&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/bCMLwfbvsvg" height="1" width="1"/&gt;</description>
            <author>Robin Speekenbrink</author>
            <pubDate>Tue, 08 Sep 2009 06:52:28 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/flush_memcached_using_bash/#comment_3464</feedburner:origLink></item>
        <item>
            <title>Comment by kumar chavan on: Make ISO images on Linux</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/mKM9bx8b73w/</link>
            <description>what is advantages of making cd-image and mounting it?

plese tell me source where i can find well information about iso image
technique.&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/mKM9bx8b73w" height="1" width="1"/&gt;</description>
            <author>kumar chavan</author>
            <pubDate>Mon, 07 Sep 2009 07:33:44 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/make_iso_images_on_linux/#comment_3463</feedburner:origLink></item>
        <item>
            <title>Comment by Kevin on: Block brute force attacks with iptables</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/YszsmV85HUo/</link>
            <description>@ Donn Lee: You're welcome!&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/YszsmV85HUo" height="1" width="1"/&gt;</description>
            <author>Kevin</author>
            <pubDate>Fri, 04 Sep 2009 14:12:05 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/block_brute_force_attacks_with_iptables/#comment_3458</feedburner:origLink></item>
        <item>
            <title>Comment by Kevin on: Convert anything to Tree Structures in PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/RTAOvQnKmkE/</link>
            <description>@ Shubhadeep: That's way to much credit : )&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/RTAOvQnKmkE" height="1" width="1"/&gt;</description>
            <author>Kevin</author>
            <pubDate>Fri, 04 Sep 2009 14:11:25 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/convert_anything_to_tree_structures_in_php/#comment_3457</feedburner:origLink></item>
        <item>
            <title>Comment by Kevin on: Make SSH connections with PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/uhCAr1Fnh7c/</link>
            <description>@ Derak: Do a find on php.ini and try to see if Maybe a different php.ini
is used?&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/uhCAr1Fnh7c" height="1" width="1"/&gt;</description>
            <author>Kevin</author>
            <pubDate>Fri, 04 Sep 2009 14:09:35 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/#comment_3456</feedburner:origLink></item>
        <item>
            <title>Comment by Kevin on: My new IDE: NetBeans</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/ozvn0tyoJLI/</link>
            <description>@ Robin Speekenbrink: Sounds to me it raises more problems than it solves.
Haven't been using windows since ages and haven't missed it once. If
anything; it's a relieve. My productivity has increased like crazy having
brilliant usability features, and the power of command line tools at my
disposal.&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/ozvn0tyoJLI" height="1" width="1"/&gt;</description>
            <author>Kevin</author>
            <pubDate>Fri, 04 Sep 2009 14:07:55 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/my_new_ide_netbeans/#comment_3455</feedburner:origLink></item>
        <item>
            <title>Comment by Donn Lee on: Block brute force attacks with iptables</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/rz1oAQ9esuQ/</link>
            <description>Very useful tutorial!  I see what the 'recent' module is doing now. 
&amp;quot;cat /proc/net/ipt_recent/SSH&amp;quot; shows you the source addresses
that are being tracked.  So doing that 'cat' after some test ssh
connections really demonstrates the utility of this simple, effective
filter.  Thanks!&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/rz1oAQ9esuQ" height="1" width="1"/&gt;</description>
            <author>Donn Lee</author>
            <pubDate>Wed, 02 Sep 2009 03:41:44 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/block_brute_force_attacks_with_iptables/#comment_3454</feedburner:origLink></item>
        <item>
            <title>Comment by Shubhadeep on: Convert anything to Tree Structures in PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/8ldzmNTx-Tc/</link>
            <description>You are a GOD to me :)&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/8ldzmNTx-Tc" height="1" width="1"/&gt;</description>
            <author>Shubhadeep</author>
            <pubDate>Mon, 31 Aug 2009 12:23:10 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/convert_anything_to_tree_structures_in_php/#comment_3453</feedburner:origLink></item>
        <item>
            <title>Comment by Derak on: Make SSH connections with PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/IHysmDsXeWk/</link>
            <description>I am having trouble with this. 

I am running php entropy (php5-5.2.5-6-beta) on Mac OSX Serve 10.5.8. And
I successfully installed libssh2-1.1 and did a pecl -f ssh2 successfully. 
I go through all the steps without problem, but ssh2 is never activated.
ssh2.so gets created and put into
&amp;quot;/usr/lib/php/extensions/no-debug-non-zts-20060613/&amp;quot;

and my php.ini file has:
extension_dir =
&amp;quot;/usr/lib/php/extensions/no-debug-non-zts-20060613/&amp;quot;
extensions=ssh2.so

Here is a php_info() page for everything on my server:
http://studentdev.jour.unr.edu/derak/images/rlb/

ssh2 should be showing up in my &amp;quot;Registered PHP Streams&amp;quot;
section, but it is not.

Any ideas? I feel like I've tried everything here.&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/IHysmDsXeWk" height="1" width="1"/&gt;</description>
            <author>Derak</author>
            <pubDate>Thu, 27 Aug 2009 23:41:37 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/#comment_3448</feedburner:origLink></item>
        <item>
            <title>Comment by Robin Speekenbrink on: My new IDE: NetBeans</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/1tWRSET0aKQ/</link>
            <description>Netbeans has improved since i last visited... and indeed the sFTP support
is in there.. but it still just cant quite compete with the ease of use of
zendstudio5

And yes: offcourse we use versioncontrol systems, but dev-ing on a windows
machine, with *nix files doesnt really work (case sensitive filenames etc)
So we keep our files on a *nix machine, dev on windows and test on the
*nix... The choise for a windows dev-machine is plain and simple: ease of
use...  :)&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/1tWRSET0aKQ" height="1" width="1"/&gt;</description>
            <author>Robin Speekenbrink</author>
            <pubDate>Wed, 26 Aug 2009 07:53:37 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/my_new_ide_netbeans/#comment_3446</feedburner:origLink></item>
        <item>
            <title>Comment by AskApache on: Schedule tasks on Linux using crontab</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/c3S67PTu3gI/</link>
            <description>Nice and thorough guide, thanks I still don't have it all memorized.&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/c3S67PTu3gI" height="1" width="1"/&gt;</description>
            <author>AskApache</author>
            <pubDate>Mon, 24 Aug 2009 13:47:02 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/schedule_tasks_on_linux_using_crontab/#comment_3444</feedburner:origLink></item>
        <item>
            <title>Comment by Kevin on: Make SSH connections with PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/Xuzgbjlgzrc/</link>
            <description>@ Reinard: Thanks for sharing!&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/Xuzgbjlgzrc" height="1" width="1"/&gt;</description>
            <author>Kevin</author>
            <pubDate>Sat, 22 Aug 2009 15:52:11 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/#comment_3443</feedburner:origLink></item>
        <item>
            <title>Comment by Kevin on: Create daemons in PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/bBjzwKeaCQ4/</link>
            <description>@ Jason: There were some bugfixes recently. What version did you try?

@ Kris: Autch.. Love your gravatar though :)&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/bBjzwKeaCQ4" height="1" width="1"/&gt;</description>
            <author>Kevin</author>
            <pubDate>Sat, 22 Aug 2009 15:51:34 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/create_daemons_in_php/#comment_3442</feedburner:origLink></item>
        <item>
            <title>Comment by Kevin on: Survive heavy traffic with your webserver</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/9690Ht-6Jt0/</link>
            <description>@ Julius Beckmann: Yeah like I said, I should probably redo this again some
time cause the article is almost 2 years old now.&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/9690Ht-6Jt0" height="1" width="1"/&gt;</description>
            <author>Kevin</author>
            <pubDate>Sat, 22 Aug 2009 15:49:28 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/survive_heavy_traffic_with_your_webserver/#comment_3441</feedburner:origLink></item>
        <item>
            <title>Comment by Reinard on: Make SSH connections with PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/1Od1RCFqgz8/</link>
            <description>If you are having problems sending multiple commands you're likely
forgetting to close the stream inbetween sending individual commands.

Try doing an fclose() on the stream resource between the ssh2_exec()
calls.&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/1Od1RCFqgz8" height="1" width="1"/&gt;</description>
            <author>Reinard</author>
            <pubDate>Tue, 18 Aug 2009 21:35:33 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/#comment_3437</feedburner:origLink></item>
        <item>
            <title>Comment by Kris on: Create daemons in PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/VWc1MtYS7gI/</link>
            <description>Apparently this was caused by a wrong EOL in my php script. Using dos2unix
on the daemon.php file fixed the problem... took me 3hours to find this one
:-/&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/VWc1MtYS7gI" height="1" width="1"/&gt;</description>
            <author>Kris</author>
            <pubDate>Thu, 13 Aug 2009 13:23:47 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/create_daemons_in_php/#comment_3428</feedburner:origLink></item>
        <item>
            <title>Comment by Kris on: Create daemons in PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/rtQAUc5zcRU/</link>
            <description>I have a weird problem. I created a daemon based on the logger example. I
ran the script using ./daemon.php, then killed it with the command killall
-9 daemon.php (notice the 9 not g) the process was killed, but when I try
to restart the script i now get:
Extension './daemon.php' not present

I have no clue how to solve this... the script ran the first time.&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/rtQAUc5zcRU" height="1" width="1"/&gt;</description>
            <author>Kris</author>
            <pubDate>Thu, 13 Aug 2009 10:11:09 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/create_daemons_in_php/#comment_3427</feedburner:origLink></item>
        <item>
            <title>Comment by scripter on: Schedule tasks on Linux using crontab</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/8XTuHpi7PU0/</link>
            <description>some more information about unix crontab
http://scripterworld.blogspot.com/2009/07/unix-crontab-configuration-with.html&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/8XTuHpi7PU0" height="1" width="1"/&gt;</description>
            <author>scripter</author>
            <pubDate>Thu, 13 Aug 2009 09:53:38 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/schedule_tasks_on_linux_using_crontab/#comment_3426</feedburner:origLink></item>
        <item>
            <title>Comment by Jason on: Create daemons in PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/B_jVPKwAl7U/</link>
            <description>I have installed all the required libraries and created a test which I
start at the command line with php socket.php I have made a separate sub
directory of the pid so that it lives in socket/socket.pid. The continue to
get &amp;quot;socket daemon was unable to write pid file&amp;quot; although the
script does delete the file. I recreate the file and I get the same error
and the file is gone. Any thoughts on what I might do. I am running the
script as root and have checked all ownership and permissions.&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/B_jVPKwAl7U" height="1" width="1"/&gt;</description>
            <author>Jason</author>
            <pubDate>Wed, 12 Aug 2009 13:12:45 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/create_daemons_in_php/#comment_3425</feedburner:origLink></item>
        <item>
            <title>Comment by Julius Beckmann on: Survive heavy traffic with your webserver</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/mydovc5zvuM/</link>
            <description>Nice article, some of the mentioned techniqes might be too much for a
normal Admin but there are some nice ideas in there.

You did not mention PHP Op-Code Cachers like APC and XCache - They can
reduce the load by simply installing them and let them cache your PHP
Scripts.

Also your MyISAM and InnoDB tipp is no general fact, it has to be selected
wisely on your setup and website.

You also forget to mention moving static files to Amazon S3 cloud or
simply using Lighttpd or Nginx for static files.&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/mydovc5zvuM" height="1" width="1"/&gt;</description>
            <author>Julius Beckmann</author>
            <pubDate>Wed, 12 Aug 2009 13:04:54 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/survive_heavy_traffic_with_your_webserver/#comment_3424</feedburner:origLink></item>
        <item>
            <title>Comment by Kevin on: Make SSH connections with PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/Hx3trXUIgw4/</link>
            <description>@ Eugene van der Merwe &amp;amp; Brian &amp;amp; 1oBuZ: If using a different
version doesn't work, you could try using a different method: Try switching
from blocking &amp;lt;&amp;gt; nonblocking. Or try using a shell instead of
execute. If that doesn't help start working with sleep and see if the
problem is caused by buffers being too lazy, finally if it's a couple of
commands you could try to concatenate them with the ';' sign or the
'&amp;amp;&amp;amp;' signs (in case you want to build a chain: if one fails, all
following fail as well). This can actually save you some exectuion time as
well.

@ Llorca: Be sure to check out:
http://www.seoegghead.com/software/ssh2-php-wrappers.seo&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/Hx3trXUIgw4" height="1" width="1"/&gt;</description>
            <author>Kevin</author>
            <pubDate>Wed, 12 Aug 2009 10:19:57 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/#comment_3423</feedburner:origLink></item>
        <item>
            <title>Comment by Kevin on: Survive heavy traffic with your webserver</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/i56ovCTRBpI/</link>
            <description>@ brant: that's nice of you thanks! :) Though some things are already
outdated again. I think I'm going to have to do another version some day.&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/i56ovCTRBpI" height="1" width="1"/&gt;</description>
            <author>Kevin</author>
            <pubDate>Wed, 12 Aug 2009 10:14:32 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/survive_heavy_traffic_with_your_webserver/#comment_3422</feedburner:origLink></item>
        <item>
            <title>Comment by Kevin on: Schedule tasks on Linux using crontab</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/qwtYZ3RaBJo/</link>
            <description>@ ruchi: Made a modification. Can you see it again? What browser are you
usng?&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/qwtYZ3RaBJo" height="1" width="1"/&gt;</description>
            <author>Kevin</author>
            <pubDate>Wed, 12 Aug 2009 10:13:38 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/schedule_tasks_on_linux_using_crontab/#comment_3421</feedburner:origLink></item>
        <item>
            <title>Comment by Kevin on: Create daemons in PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/iHFhkkg_Xdk/</link>
            <description>@ Peter: Have a look at
http://brian.moonspot.net/php-fork&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/iHFhkkg_Xdk" height="1" width="1"/&gt;</description>
            <author>Kevin</author>
            <pubDate>Wed, 12 Aug 2009 10:12:51 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/create_daemons_in_php/#comment_3420</feedburner:origLink></item>
        <item>
            <title>Comment by 1oBuZ on: Make SSH connections with PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/ic9hl9XHX2Q/</link>
            <description>I have got the same problem wehn u will find a solution please tell here :)&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/ic9hl9XHX2Q" height="1" width="1"/&gt;</description>
            <author>1oBuZ</author>
            <pubDate>Sun, 09 Aug 2009 16:02:04 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/#comment_3418</feedburner:origLink></item>
        <item>
            <title>Comment by Peter on: Create daemons in PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/EgHQ0MKL80U/</link>
            <description>Kevin,

I'd like to use your class for as job scheduler daemon in PHP where I have
the daemon run various jobs throughout different times of the day.  I'd
like the daemon to simply spawn each job in a child process and go back to
being a daemon without each job running within the daemon's process.  How
hard would this be to do without interfering with your class?

Thanks

How hard would it be to have some of the code running with the daemon&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/EgHQ0MKL80U" height="1" width="1"/&gt;</description>
            <author>Peter</author>
            <pubDate>Sat, 08 Aug 2009 19:43:12 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/create_daemons_in_php/#comment_3416</feedburner:origLink></item>
        <item>
            <title>Comment by Brian on: Make SSH connections with PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/ANAvKTu0gW4/</link>
            <description>Hello,

Im having some issues with outputting the results of the command,
sometimes it works, other times it doesnt.

I cannot return the output for something as simple as 'pwd', other times
it will return the output of /etc/init.d/mysqld status, other times it
wont.

The command seems to complete because i can do something like:

cat /etc/php.ini &amp;gt;&amp;gt; test.txt

sure enough the file is there, but if i tried to cat a small file with 1
word in it, no output.

i thought maybe it was the length on fopen, increasing it didnt make a
difference,

oddly sometimes I can output the status of httpd or mysql, then other
times it just wont do it..

any ideas?&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/ANAvKTu0gW4" height="1" width="1"/&gt;</description>
            <author>Brian</author>
            <pubDate>Sat, 08 Aug 2009 09:38:36 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/#comment_3415</feedburner:origLink></item>
        <item>
            <title>Comment by Eugene van der Merwe on: Make SSH connections with PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/uDAnSZLcmlk/</link>
            <description>#217. Charlie,

I have the same problem as you. What I am trying to achieve is make one
connection but send multiple commands. The first command works, but on
second try I also get &amp;quot;Unable to request a channel from remote
host.&amp;quot;.

Googling this didn't produce much results, except someone who insinuates
this does not happen in libssh 0.13 (see
http://www.mail-archive.com/libssh2-devel@lists.sourceforge.net/msg01804.html).

So I suppose my question is, how to I open one connection and run multiple
commands without getting any errors? :-)&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/uDAnSZLcmlk" height="1" width="1"/&gt;</description>
            <author>Eugene van der Merwe</author>
            <pubDate>Sat, 08 Aug 2009 05:29:03 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/#comment_3414</feedburner:origLink></item>
        <item>
            <title>Comment by Eugene van der Merwe on: Make SSH connections with PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/dO1XcNzIVqU/</link>
            <description>#210. Fatima, if you get error LIBSSH2_ERROR_EAGAIN use the latest version
of libssh2 (I used libssh2-1.1.tar.gz). Kevin refers to an old version
here.&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/dO1XcNzIVqU" height="1" width="1"/&gt;</description>
            <author>Eugene van der Merwe</author>
            <pubDate>Sat, 08 Aug 2009 05:10:41 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/#comment_3413</feedburner:origLink></item>
        <item>
            <title>Comment by Sean Hess on: Create daemons in PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/P_6h2tu2RR4/</link>
            <description>@Kevin - The original motivation was to get the daemon's loop to run as a
separate script, since writing a loop with System_Daemon was causing
strange problems. Thanks for your article and work!&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/P_6h2tu2RR4" height="1" width="1"/&gt;</description>
            <author>Sean Hess</author>
            <pubDate>Tue, 04 Aug 2009 15:50:22 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/create_daemons_in_php/#comment_3411</feedburner:origLink></item>
        <item>
            <title>Comment by brant on: Survive heavy traffic with your webserver</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/FLiO5F-qcbs/</link>
            <description>I rarely make comments on blogs, but this article was so good I had to.  It
touches on a lot of different areas that can take you months to fully
optimize.  I know, because it took me quite a few months until i was
satisfied.

Not only are these good tips for heavy traffic'd sites, but good tips in
general for a speedy and responsive website.&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/FLiO5F-qcbs" height="1" width="1"/&gt;</description>
            <author>brant</author>
            <pubDate>Tue, 04 Aug 2009 13:54:13 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/survive_heavy_traffic_with_your_webserver/#comment_3410</feedburner:origLink></item>
        <item>
            <title>Comment by ruchi on: Schedule tasks on Linux using crontab</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/jyyArW8H6Ds/</link>
            <description>Hi Kevin...In the section &amp;quot;Mailing the crontab output of just one
cronjob&amp;quot; the scrolled part is not visible..please let me know the full
command.&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/jyyArW8H6Ds" height="1" width="1"/&gt;</description>
            <author>ruchi</author>
            <pubDate>Tue, 04 Aug 2009 11:12:53 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/schedule_tasks_on_linux_using_crontab/#comment_3409</feedburner:origLink></item>
        <item>
            <title>Comment by Ruchi on: Schedule tasks on Linux using crontab</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/M91Ry7U9OvA/</link>
            <description>Very useful article...&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/M91Ry7U9OvA" height="1" width="1"/&gt;</description>
            <author>Ruchi</author>
            <pubDate>Tue, 04 Aug 2009 10:44:31 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/schedule_tasks_on_linux_using_crontab/#comment_3408</feedburner:origLink></item>
        <item>
            <title>Comment by Kevin on: Create daemons in PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/uPS40AWb--w/</link>
            <description>@ Easy Daemons in PHP: I'm honored that someone build a wrapper around my
wrapper : ) Haven't looked at the code yet, but if it does what you need:
I'm happy.&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/uPS40AWb--w" height="1" width="1"/&gt;</description>
            <author>Kevin</author>
            <pubDate>Tue, 04 Aug 2009 10:39:30 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/create_daemons_in_php/#comment_3407</feedburner:origLink></item>
        <item>
            <title>Comment by Kevin on: Prepare for PHP 5.3</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/8DhsayK8Yk8/</link>
            <description>@ Nate Abele: Thanks for the heads-up. I saw on twitter that the dev
version of 1.3 was released today. Nice job! Were you able to get your
hands on some Club Mate for that ? ; )&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/8DhsayK8Yk8" height="1" width="1"/&gt;</description>
            <author>Kevin</author>
            <pubDate>Tue, 04 Aug 2009 10:38:10 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/prepare_for_php_53/#comment_3406</feedburner:origLink></item>
        <item>
            <title>Comment by Easy Daemons in PHP on: Create daemons in PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/owsW7zoeQ_g/</link>
            <description>[...] This class and script makes it easy to turn a one-shot php script
into a daemon that runs in the background on a timer [...]&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/owsW7zoeQ_g" height="1" width="1"/&gt;</description>
            <author>Easy Daemons in PHP</author>
            <pubDate>Mon, 03 Aug 2009 14:11:30 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/create_daemons_in_php/#comment_3405</feedburner:origLink></item>
        <item>
            <title>Comment by Nate Abele on: Prepare for PHP 5.3</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/APQXR1w8Sis/</link>
            <description>Hey Kevin, good post.  I just wanted to let you know that 5.3 support has
now been pushed to the CakePHP 1.3 branch, which will be released shortly,
so core code changes shouldn't be be required soon.&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/APQXR1w8Sis" height="1" width="1"/&gt;</description>
            <author>Nate Abele</author>
            <pubDate>Sat, 01 Aug 2009 12:43:03 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/prepare_for_php_53/#comment_3404</feedburner:origLink></item>
        <item>
            <title>Comment by Rune Kaagaard on: Prepare for PHP 5.3</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/59R5m1dYwUY/</link>
            <description>@Philip Olson, Thx for clarifying. Interesting to hear about the possible
decoupling of the &amp;lt;?=$some_var?&amp;gt; syntax. 

@Andrea Giammarchi, how is short tag a mess for modules? (and what kind of
modules are you referring to?). I have always felt that having the ease of
the &amp;lt;?=$some_var?&amp;gt; syntax _by far_ made the impurity of having to
echo &amp;quot;&amp;lt;?xml&amp;quot; ... worth it. PHP is a super cool template
language where shorttags fits in nicely. so shortags....? GOOD! :)&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/59R5m1dYwUY" height="1" width="1"/&gt;</description>
            <author>Rune Kaagaard</author>
            <pubDate>Fri, 31 Jul 2009 11:46:01 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/prepare_for_php_53/#comment_3403</feedburner:origLink></item>
        <item>
            <title>Comment by Kevin on: Prepare for PHP 5.3</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/ZfSfsRidXjc/</link>
            <description>@ xrado: Well with any modern IDE you shouldn't have to type that manually.


They probably should have never supported it in the first place. PHP isn't
the only language out there. Just think of XML:

[CODE=&amp;quot;XML&amp;quot;]
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;
[/CODE]

This can cause confusion, so I understand why they want to drop it.&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/ZfSfsRidXjc" height="1" width="1"/&gt;</description>
            <author>Kevin</author>
            <pubDate>Fri, 31 Jul 2009 10:26:43 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/prepare_for_php_53/#comment_3402</feedburner:origLink></item>
        <item>
            <title>Comment by xrado on: Prepare for PHP 5.3</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/05Ab9P3_ueI/</link>
            <description>i really don't see a reason for dropping short tag support. writing php a
1000 times is a nonsense&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/05Ab9P3_ueI" height="1" width="1"/&gt;</description>
            <author>xrado</author>
            <pubDate>Fri, 31 Jul 2009 10:08:25 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/prepare_for_php_53/#comment_3401</feedburner:origLink></item>
        <item>
            <title>Comment by Kevin on: Prepare for PHP 5.3</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/g2PgpQ7ktnY/</link>
            <description>@ Andrea Giammarchi: No sorry I still think you're missing my point. As we
speak, CakePHP people are working on PHP 5.3 versions. I just want to
enable people to testdrive their code right now even though they don't have
a stable 5.3 framework core - yet.
So comparison with IE6 isn't really working as I'm encouraging people to
update everything. Please read my article more carefully, I have the
feeling your IE6 concerns where triggered by false alarm.

@ Matthew Weier O'Phinney: That's a nice summary of of PHP 5.3 goodness.
I'm actually the most excited about this release since... Well a very long
time : )

@ Rune Kaagaard: Thanks. I read it somewhere, but apparently the jury is
still out on that one, let me adjust the article

@ Philip Olson: Thanks you for clarifying on that subject, I will adjust
the article accordingly

@ Cory Kaufman: I agree that would be nice, but I imagine a fix for that
would be really hacky. I mean: it either recognizes shorttags or it
doesn't. A state inbetween that detects but does not act on it may
introduce bugs on it's own.

@ Giorgio Sironi: Thanks I will add them as well!&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/g2PgpQ7ktnY" height="1" width="1"/&gt;</description>
            <author>Kevin</author>
            <pubDate>Fri, 31 Jul 2009 09:47:14 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/prepare_for_php_53/#comment_3400</feedburner:origLink></item>
        <item>
            <title>Comment by Giorgio Sironi on: Prepare for PHP 5.3</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/8ym1dYLhKD8/</link>
            <description>I was using ereg_*() functions and I have to convert to preg_*() ones.
Fortunetale magic_quotes_gpc and register_globals are gone from a long
time.
@Matthew: when Zend_Loader will support namespaced classes?&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/8ym1dYLhKD8" height="1" width="1"/&gt;</description>
            <author>Giorgio Sironi</author>
            <pubDate>Fri, 31 Jul 2009 08:38:39 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/prepare_for_php_53/#comment_3399</feedburner:origLink></item>
        <item>
            <title>Comment by Cory Kaufman on: Prepare for PHP 5.3</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/OIdm0HogQNw/</link>
            <description>I wish PHP failed more loudly when short tags are disabled. I've had them
turned off on my local server for a while, but it always leads to some odd
results when I download code that uses short tags.&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/OIdm0HogQNw" height="1" width="1"/&gt;</description>
            <author>Cory Kaufman</author>
            <pubDate>Fri, 31 Jul 2009 03:26:33 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/prepare_for_php_53/#comment_3398</feedburner:origLink></item>
        <item>
            <title>Comment by Llorca on: Make SSH connections with PHP</title>
            <link>http://feedproxy.google.com/~r/kvz-comments/~3/0pLrTMp_veo/</link>
            <description>This is fantastic. I'm building this out into a PHP class for use on an
automation project. I'll link back to this post for proper recognition :)

Thanks for sharing this, its awesomely useful&lt;img src="http://feeds.feedburner.com/~r/kvz-comments/~4/0pLrTMp_veo" height="1" width="1"/&gt;</description>
            <author>Llorca</author>
            <pubDate>Thu, 30 Jul 2009 23:00:45 +0100</pubDate>
        <feedburner:origLink>http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/#comment_3397</feedburner:origLink></item>
    </channel>
</rss>
