Re: daemonized php
| From: | Greg Donald | Date: | Mon, 07 Jul 2003 12:58:52 +0000 |
| Subject: | Re: daemonized php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-154182@lists.php.net to get a copy of this message | ||
> Can somebody give me any workable example how to run some script written in
> PHP in Unix console.
#!/usr/local/bin/php -q
<?php
echo "Example script";
?>
> I wan't to write some server aplication. So it has to be run in the
> backgroud.
Have a look at the process control functions:
http://php.net/pcntl
--
Greg Donald
http://destiney.com/