I have taken the big step into taking on PHP by purchasing Sitepoints very own ‘Build Your Own Database Driven Web Site…’ and started the instructions on installing MSQL, PHP and Apache 2.2. All of the installations went seemingly well until I came to starting apache. When I click ‘start’ on the Apache icon in the system tray an error message displays:
‘The requested operation has failed’
When I run the Test Configuartion in the Apache startup menu this is what I get:
(there should hopefully be a screenshot of the message above)
Can anyone tell me how I can fix this error?
I’m using Vista home btw.
# For PHP 5 do something like this:
LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php .php3
# configure the path to php.ini
PHPIniDir "C:/php"
and
extension_dir = “c:/php/ext” in php.ini
the extension directory should be something like c:/php/ext or c:/php/extension