Re: How to run one php app from another? RECAP

From: Date: Tue, 20 Jun 2006 01:32:59 +0000
Subject: Re: How to run one php app from another? RECAP
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-238364@lists.php.net to get a copy of this message
Richard Lynch wrote:
On Mon, June 19, 2006 8:13 pm, Chris wrote:
Manuel Amador (Rudd-O) wrote:
Excuse me... in which scenarios isn't fork() available? As far as I know, it even works on Windows (albeit slower... not that you'll be gaining any performance by curl'ing your URL - that's actually slower than fork()).
It's (probably) not that the fork() etc commands don't work on windows, just that the php functions don't. http://www.php.net/pcntl
fork() in anything other than CLI/CGI is dangerous because PHP extensions (and/or web-server extensions) are not known to be thread-safe.
I'm not debating any of that, he asked why the functions don't work in windows, I said that the php functions don't, not necessarily that fork() doesn't. -- Postgresql & php tutorials http://www.designmagick.com/

« previous php.general (#238364) next »