RE: [PHP] How reliable is pcntl support?

From: Date: Fri, 26 Jul 2002 15:01:22 +0000
Subject: RE: [PHP] How reliable is pcntl support?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-109741@lists.php.net to get a copy of this message
[snip] I've recently had a need to write a standalone script that needs to fork off a number of children during its operation, and I'd like to use PHP since I've already written most of the functions in a web application I did in PHP. But, I'm now not so sure if that's feasible. According to the docco, process control is supplied by the "pcntl" module which isn't compiled into PHP by default (and doesn't appear to be compiled into the 4.1.2 Red Hat RPMs that are on the machine). The documentation also describes it as "experimental", although that could just be old documentation... The program would be a production system... before I proceed trying to recompile support in, could I get some feedback on just how reliable it is? Should I be trying to do this in another language instead? [/snip] If by children you mean server processes or OS processes you may be able to use exec() or one of it's variations; http://www.php.net/manual/en/function.exec.php Could you more clearly describe what it is you would like to do, such as "run this external script" or "move this file"? This would help... Jay Nothing is impossible for the man who doesn’t have to do it himself ************************************* * Want to meet other PHP developers * * in your area? Check out: * * http://php.meetup.com/ * * No developer is an island ... * *************************************

« previous php.general (#109741) next »