Solved

apache won't start after adjusting http.conf

Posted on 2008-06-13
5
851 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

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

Suggested Solutions

In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
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…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to count occurrences of each item in an array.

734 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