Skip to main content
IBM  
Shop Support Downloads
IBM Home Products Consulting Industries News About IBM
IBM developerWorks : Web Architecture : Education - Tutorials
Writing efficient PHP
ZIPPDF (letter)PDF (A4)e-mail
Main menuSection menuFeedbackPreviousNext
5. Other performance enhancements
  


Running PHP as a module page 2 of 8


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.


Main menuSection menuFeedbackPreviousNext
Privacy Legal Contact