If you currently run PHP as a CGI executable (the default), and you
use a Web server for which a PHP module available is available (such as
Apache), consider reconfiguring the server to run PHP as a module.
This avoids the overhead associated with starting and terminating a CGI
process for each client request. This modification has the greatest
impact when serving a large number of requests that involve short scripts, as
opposed to relatively few requests that involve much longer scripts.
To find out if there is a PHP module available for your particular Web
server, or for more details on configuring your Web server to use a PHP
module, refer to the installation section
of the PHP manual.