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

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

 



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/

--
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