Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: httpd.exe: Syntax error |
|
Author |
|
drgreen
Joined: 20 Sep 2007 Posts: 2
|
Posted: Thu 20 Sep '07 10:19 Post subject: httpd.exe: Syntax error |
|
|
After some difficulty, I have managed to install apache 2.2.4 on my vista (yes i know!) laptop. I want to test some php pages locally, so i have downloaded PHP5, unpacked, copied the ini and dll files to the appropriate places (come to think of it is the vista sys directory c:\windows or c:\windows\system32 ).
edited the httpd.conf with the following lines...
Code: | LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php
# configure the path to php.ini
PHPIniDir "C:/program files/php" |
but cant restart apache cos i get...
Code: | httpd.exe: Syntax error on line 121 of C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/php/php5apache2.dll into server: The specified module could not be found. |
yes the dll is there! is it vista? pls help |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Thu 20 Sep '07 10:27 Post subject: |
|
|
For apache 2.2.4 you need to load php5apache2_2.dll |
|
Back to top |
|
drgreen
Joined: 20 Sep 2007 Posts: 2
|
Posted: Thu 20 Sep '07 10:31 Post subject: |
|
|
Top bloke James, thanks. |
|
Back to top |
|
|
|
|
|
|