Re: pcntl_fork doesn't work

From: Date: Wed, 26 Jan 2005 20:42:53 +0000
Subject: Re: pcntl_fork doesn't work
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-207418@lists.php.net to get a copy of this message
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

« previous php.general (#207418) next »