#load the php main library to avoid dll hell Loadfile "C:/php/php5ts.dll" #load the sapi so that apache can use php LoadModule php5_module "C:/php/php5apache2_2.dll" #set the php.ini location so that you don't have to waste time guessing where it is PHPIniDir "C:/php" #Hook the php file extensions, notice that Addtype is NOT USED, since that's just stupid AddHandler application/x-httpd-php .php AddHandler application/x-httpd-php-source .phps