Chapter 3. PHP
PHP is the most popular web scripting language and an essential part of the Apache platform. Consequently, it is likely most web application installations will require PHP's presence. However, if your PHP needs are moderate, consider replacing the functionality you need using plain-old CGI scripts. The PHP module is a complex one and one that had many problems in the past.
This chapter will help you use PHP securely. In addition to the information provided here, you may find the following resources useful: