Solved

apache won't start after adjusting http.conf

Posted on 2008-06-13
5
858 Views
Last Modified: 2013-12-13
When I configure httpd.conf in apache to include "LoadModule php5_module C:/Program Files/Apache Group/Apache/php5apache.dll" in the file, a syntax error on this line is preventing apache to start up.  The syntax error is as follows; LoadModule takes two arguments, a module name and the name of a shared object file to load it from.  Any ideas? I, personally thought that my syntax was correct.  I'm trying to configure apache for my recent installation of php5 and I'm running apache on windows XP.
0
Comment
Question by:jabrthel
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 82

Accepted Solution

by:
hielo earned 500 total points
ID: 21783921
since there is a space between the words "Progam" and "Files", it is seen as three separate arguments. Try putting quotes around the path:
LoadModule php5_module "C:/Program Files/Apache Group/Apache/php5apache.dll"
0
 

Author Comment

by:jabrthel
ID: 21783939
Thank you.  I went ahead and did that and I'm no longer getting that error... but, now I'm getting an error that says it can't load that particular path; the error is "the specified module could not be found".  Any suggestions? I double checked to make sure that php5apache.dll is indeed in that directory.
0
 

Author Comment

by:jabrthel
ID: 21784040
Fixed it! Forgot a bunch of pound signs before statements... will award hielo the points.  Thanks!
0
 

Author Closing Comment

by:jabrthel
ID: 31467136
Thanks, your solution fixed the problem, I had bunch of errors after that, but they were related to not having placed # before statements
0
 
LVL 82

Expert Comment

by:hielo
ID: 21784179
That grade is completely uncalled for! Without the quotes your issue would not have been fixed even if YOU had not missed those pound signs, which by the way, there is no way I could have guessed given that you practically posted no code.
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question