Forum Moderators: phranque

Message Too Old, No Replies

Problem starting Apache server

         

dtandy

5:00 pm on Nov 17, 2007 (gmt 0)

10+ Year Member



I am a newbie when it comes to Apache and I have been getting an error message when I attempt to start Apache 2.2.6 on my XP PC.

The error is that the httpd.conf file has a syntax error in the following line

LoadModule php5_module c:/php5/php5apache2.dll

The php5apache2.dll is found in the c:/php5 directory yet Apache doesn't appear to see it.

I have added c:\php5 to the Path in the Environmental Variables dialog box.

I have tried reinstalling Apache but I get the same error.

Any ideas of why Apache isn't recognizing the file?

Thanks,

Dave

jdMorgan

6:29 pm on Nov 17, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You might want to 'cut' that line along with the lines that precede and follow it, paste them into a plain-ASCII-text editor such as NotePad, and make sure that there are no "word-processor" characters embedded in or following them.

Also, check that "php5_module" is the correct Apache "name" for the module.

I don't really see any syntax error, per-se.

Jim

dtandy

8:34 pm on Nov 17, 2007 (gmt 0)

10+ Year Member



Jim,

Thanks. I checked using Notepad and I didn't see any odd characters. How do I check that the module name is correct?

Dave