f) PHP compiled as Apache module, including MySQL support.
Tested mainly with PHP version 4.3.0 and above. (Note that if
you are compiling mod_php from source, it is good to compile
it against the same MySQL client library as mod_python, so
that the two Apache modules are using the same MySQL client
library. We saw Apache/PHP/Python problems in the past when
they weren't.)
<http://www.php.net/>
g) PHP compiled as a standalone command-line executable (CLI)
(in addition to Apache module) is required, too. As of PHP
4.3.0 you'll obtain the CLI executable by default, so you
don't have to compile it separately. Note that PHP CLI should
be compiled with the process control support (--enable-pcntl)
and the compression library (--with-zlib).
<http://www.php.net/manual/en/install.commandline.php>
<http://www.php.net/manual/en/ref.pcntl.php>