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 line 111 |
|
Author |
|
thompsonay
Joined: 07 Oct 2008 Posts: 6
|
Posted: Tue 07 Oct '08 4:00 Post subject: httpd.exe:syntax error line 111 |
|
|
I have installed apache 2.2 with php-5.2.6-win-32-installer.msi
on Windows XP machine
when i restart apache it displays
httpd.exe: syntax error on line 111 H:/program files/Apache Software Foundation/Apache2.2/conf/httpd.conf: LoadModule takes two arguments, a module name and the name of a shared object file to load it from
LoadModule php5_module module "h:/program Files/php/php5apache2_2.dll"
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
i am not sure what i am doing. I was wondering after reading others that made the same corrections and theirs worked why mine is not working? |
|
Back to top |
|
thompsonay
Joined: 07 Oct 2008 Posts: 6
|
Posted: Tue 07 Oct '08 4:55 Post subject: fixed it |
|
|
there is definately a good reason for not putting the php file in programs and running apache in programs...
when apache searches for the php...dll it cannot search in this directory
H/program files/apache...then h:program files/php at the same time.
it ends up looking like this
h:program files/apachesoftwarefoundation/apache2.2/php...right here it skips the program files and goes straight for the php file...anyway....
and to think that it all started with wanting to put a simple form on a website...
tooooodaloooooo everyone..."she'll be back" |
|
Back to top |
|
|
|
|
|
|