Anyway, I tried with php-cgi or php-fcgi, but without success.
This is an example of what I want to run (execution rights given):
Code: Select all
##!/usr/local/bin/php-cgi -h
#!/usr/sbin/php-fcgi -h
<?php
$dtime = 5;
print "press Ctrl-C to stop\n";
while(1)
{
print "Time: " . date("%r") . "\n";
sleep($dtime);
}
?>
Any help will be greatly appreciated