Nathan Nobbe wrote:
I was reading the handbook on the topic of Unix process control. The first
thing it says is:
Process Control support in PHP implements the Unix style of process
creation, program execution, signal handling and process termination.
Process
Control should not be enabled within a web server environment and
unexpected
results may happen if any Process Control functions are used within a web
server environment.
Does this mean that a machine running PHP to handle HTTP requests should
not
also use PHP to implement a Unix style process, or does it mean that these
methods should not be called from the CGI
SAPI<http://www.php.net/manual/en/features.commandline.php>
.
My impression is that a given machine should be able to use the Unix
process
control functions and handle HTTP requests as long as the Unix process
control functions are invoked strictly from the CLI
SAPI<http://www.php.net/manual/en/features.commandline.php>
.
can somebody clear this up for me?
It says that within a web server environment you should not use process
control functions. It does not say that on a machine that's running a
web server you should not use process control functions.
A "web server environment" does not mean the entire machine. Hope that
clears it up.
-Stut
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php