Solved

apache won't start after adjusting http.conf

Posted on 2008-06-13
5
839 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
  • 3
  • 2
5 Comments
 
LVL 82

Accepted Solution

by:
hielo earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
Fixed it! Forgot a bunch of pound signs before statements... will award hielo the points.  Thanks!
0
 

Author Closing Comment

by:jabrthel
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

762 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now