Re: spawing new PHP process
| From: | Marco Tabini | Date: | Tue, 26 Nov 2002 16:36:57 +0000 |
| Subject: | Re: spawing new PHP process | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126127@lists.php.net to get a copy of this message | ||
Assuming you're working on UNIX--you need to use one of the execute
functions (search for exec in the manual). You can spawn a separate PHP
in the background in a number of way, for example, by using the screen
program.
If I remember correctly, you can't instantiate it directly and run it in
the background because PHP does not close stdout and stderr--but this
might have changed and/or I may be mistaken (nothing new there).
Marco
--
------------
php|architect - The magazine for PHP Professionals
The first monthly worldwide magazine dedicated to PHP programmers
Come visit us at http://www.phparch.com!