Solved

apache won't start after adjusting http.conf

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
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 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 …

920 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

12 Experts available now in Live!

Get 1:1 Help Now