Re: pcntl_fork doesn't work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



John Davin wrote:
> I'm trying to use pcntl_fork on php 4.3.10, but it says " Call to
> undefined function:  pcntl_fork() in test.php on line 3"".
>
> The manual says pcntl is present in php >= 4.1.0.  I have 4.3.10, just the
> standard installation included on fedora core 3.
>
> I've done all the standard stuff - google'd, searched mailing list
> archive, looked through phpinfo() (didn't find anything relevant).
>
> Why wouldn't pcntl be working?  Is there any other way for me to fork a
> process or thread?

Sometimes you can use exec("... &") to fork...

It's probably not really a good idea as others have stated.

Most web log analyzers look up and cache IP->domain-name data for this
exact same reason.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux