Re: daemonized php
| From: | David T-G | Date: | Mon, 07 Jul 2003 12:55:06 +0000 |
| Subject: | Re: daemonized php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-154179@lists.php.net to get a copy of this message | ||
Uros --
..and then Uros said...
%
% Hello!
Hi!
%
% Can somebody give me any workable example how to run some script written in
% PHP in Unix console.
Sure.
php -q /path/to/script/name
(assuming you have the command-line version of php, which you may not,
and that your script doesn't need apache to feed it env vars).
%
% I wan't to write some server aplication. So it has to be run in the
% backgroud.
Then tack '&' on the end of the line above.
HTH & HAND
:-D
--
David T-G * There is too much animal courage in
(play) davidtg@justpickone.org * society and not sufficient moral courage.
(work) davidtgwork@justpickone.org -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/ Shpx gur
Pbzzhavpngvbaf Qrprapl Npg!