I installed apache server 2.2.19 on a vista machine. It was running fine but I tried to configure it to use php by modifying the httpd.conf file. These are the lines I added
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
PHPIniDir “C:\PHP”
I added this below this line
AddType application/x-gzip .gz .tgz
I also added this line
LoadModule php5_module “C:\PHP\php5apache2_2.dll”
I added this below this line
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
I tried to restart the apache server but every time i do so it returns an error message that The requested operation has failed. What could be the problem?
I don´t have any experience with installing it on windows, but the following lines seem very wrong to me:
Is that really what you added? If it is, I would suggest changing it to:
Note that I am using
"instead of the curly quotes you are using.