Re: php_fork();
| From: | overight | Date: | Sun, 14 Nov 2004 17:36:58 +0000 |
| Subject: | Re: php_fork(); | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-13848@lists.php.net to get a copy of this message | ||
Ok, thanks to all :)
Andrey Hristov a écrit :
Try pcntl_fork() and the ext/pcntl extension (*nix only but I heard someting about cygphp which uses Cygwin and has ext/pcntl for windows). Andrey overight wrote:Hello What about fork() in php ? I have tried to understand c language yesterday, and I have write that in /ext/standard/basic_functions.c: PHP_FUNCTION(php_fork){fork();} (and a few lines to decalare this function) And it's work ! Now I can fork my php scripts with the php_fork() function :) Is it possible to hope that a same function will come in futures versions of php ?