#preload the php interpreter dll to avoid dll hell LoadFile "C:\server\php5.2\php5ts.dll" #load the sapi module for apache LoadModule php5_module "C:\server\php5.2\php5apache2_2.dll" #let's not guess where the file is PHPIniDir "C:/server/php5.2" #hook the extensions AddHandler application/x-httpd-php .php AddHandler application/x-httpd-php-source .phps #hook index.php as a dirlist filename DirectoryIndex index.php