Tienes que hacer unos cambios en tu archivo
httpd.conf de apache ,de manera que php funcione como módulo o como cgi, aqui las lineas que debes agregar si quieres usar php como cgi:
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
# For PHP 5
Action application/x-httpd-php "/php/php-cgi.exe"
si quieres usarlo como módulo:
# For PHP 5 do something like this:
LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php
# configure the path to php.ini
PHPIniDir "C:/php" esto es para servidor apache version 2.x