Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I've compiled php with the option --enable-pcntl but when i call the
function "pcntl_fork()" i obtain the error:
"Call to undefined function: pcntl_fork()"
Where is the bug? Have i to modify php.ini too? If yes, how?
Server configuration is: Apache2 2.2.3 and Debian 4.

Re: pcntl_fork()

chri wrote:
Quoted text here. Click to load it

You need to be using the cgi or cli version of PHP for this to be
available.  Additionally, see the note at
http://us.php.net/manual/en/ref.pcntl.php :

"Process Control should not be enabled within a web server environment
and unexpected results may happen if any Process Control functions are
used within a web server environment."

Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.

Site Timeline