What are the best practices for configuring PHP5 with Apache on a Windows server?

When configuring PHP5 with Apache on a Windows server, it is important to ensure that the necessary PHP modules are enabled and that the PHP configuration file (php.ini) is properly configured. It is also recommended to set the correct document root and enable the PHP handler in the Apache configuration file.

LoadModule php5_module "C:/path/to/php5apache2_4.dll"
AddHandler application/x-httpd-php .php
PHPIniDir "C:/path/to/php"
DocumentRoot "C:/path/to/htdocs"