mod_php
| From: | Stanisław Findeisen | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | mod_php | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-307599@lists.php.net to get a copy of this message | ||
Hi
Could anyone please explain to me the basic architecture of PHP module
when running "in process" within Apache HTTP server?
I guess this is called "mod_php".
As far as I understand the shared library (e.g., libphp5.so) is being
dynamically loaded by an Apache working process and then, whenever a
.php (or .php3, or...) file is requested the working process calls the
PHP interpreter. This call to the PHP interpreter is a function call and
there is no fork(2) nor execve(2) in play at all.
Is this correct?
STF
http://eisenbits.homelinux.net/~stf/
OpenPGP: DFD9 0146 3794 9CF6 17EA D63F DBF5 8AA8 3B31 FE8A