pcntl_fork()

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • chri

    pcntl_fork()

    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.
    Thanks
  • Jerry Stuckle

    #2
    Re: pcntl_fork()

    chri wrote:
    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.
    Thanks
    >
    You need to be using the cgi or cli version of PHP for this to be
    available. Additionally, see the note at


    "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.
    jstucklex@attgl obal.net
    =============== ===

    Comment

    Working...