Solved

apache won't start after adjusting http.conf

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

756 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