note 77942 deleted from function.pcntl-fork by danbrown
| From: | danbrown@php.net | Date: | Tue, 10 Aug 2010 15:46:18 +0000 |
| Subject: | note 77942 deleted from function.pcntl-fork by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-171539@lists.php.net to get a copy of this message | ||
Note Submitter: underdog
----
QUOTE from arnold at helderhosting dot nl:
It is not possible to use the function 'pcntl_fork' when PHP is used as Apache module. You
can only use pcntl_fork in CGI mode or from command-line.
Using this function will result in: 'Fatal error: Call to undefined function:
pcntl_fork()'
==============================================
THANKS, Arnold! This bears repeating... (Note to PHP documentation developers: Please add this
important comment to the main documentation for this function - it would saved me a lot of time
debugging!)