logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: error while starting apache2_2
Author
manikumar



Joined: 09 Mar 2007
Posts: 1

PostPosted: Fri 09 Mar '07 22:53    Post subject: error while starting apache2_2 Reply with quote

hi sirs,

i have windows os xp/prof. and installed apache2_2. After installing apache2_2 and i checked in explorer as http://localhost...it works fine.

hoping that apache2_2 was successfully installed, i start installing php5.2.1 . After successful installation i start editing the httpd.conf in the apache directory.

i added the following lines
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
LoadModule php5_module “c:/php/php5apache2_2.dll”
phpinidir = "c:/php"

after adding the above lines in httpd.conf and then stopped the apache server, and then again started apache server , it then displays the following error
httpd.exe :syntax error on line 115 of c:/program files/apache software foundation/apache2_2/conf/httpd.conf: invalid loadmodule path
\x93 c:/php/php5apache2_2.dll\x94

note : php5apache2_2.dll was availble in c:/php

kindly help me to resolve the error
- manikumar
Back to top
VoodooMill



Joined: 11 Jan 2007
Posts: 60

PostPosted: Sat 10 Mar '07 1:56    Post subject: Re: error while starting apache2_2 Reply with quote

manikumar wrote:

httpd.exe :syntax error on line 115 of c:/program files/apache software foundation/apache2_2/conf/httpd.conf: invalid loadmodule path
\x93 c:/php/php5apache2_2.dll\x94

In looking at \x93 c:/php/php5apache2_2.dll\x94 I wonder if you have whitespace after the open quote of the module path?
Back to top
wk420



Joined: 14 Apr 2007
Posts: 2
Location: san jose

PostPosted: Sat 14 Apr '07 7:33    Post subject: Reply with quote

I did everything right too up until it told me to change the apache2_2/conf/httpd.conf file I could not do it, because it had not existed

How do i get this file?
Back to top
Jorge



Joined: 12 Mar 2006
Posts: 376
Location: Belgium

PostPosted: Sat 14 Apr '07 9:15    Post subject: Reply with quote

wk420 wrote:
I did everything right too up until it told me to change the apache2_2/conf/httpd.conf file I could not do it, because it had not existed

How do i get this file?


You didn't use " but the fancy version that leans backwards and forwards!
make sure you edit the file in notepad and not wordpad
Back to top
wk420



Joined: 14 Apr 2007
Posts: 2
Location: san jose

PostPosted: Sun 15 Apr '07 2:57    Post subject: Reply with quote

I do have the file called httpd.txt but not httpd.conf. Are they the same, because when I edit the file, yes in notepad, it doesn't help my problem at all
It still attempts to download the file everytime I open it in my web browser
Back to top
doctorhyde



Joined: 03 May 2007
Posts: 1

PostPosted: Thu 03 May '07 21:20    Post subject: Reply with quote

Ok, so I've been looking around for a fix to this exact same problem and spent an hour and a half yesterday doing what everyone on this and other sites were suggesting and none of it worked. However, a little while ago I did something and now everything works fine. It seems like nothing and by all means probably shouldn't work but it did on my system, I don't know about yours.

Ok, open up the php5apache2_2.dll in notepad. Search for php5_module, it should be the very last thing. Copy php5_module from there and paste it into the httpd file in apache where it's supposed to go. Here's my line from httpd.conf

LoadModule php5_module c:/php/php5apache2_2.dll

I put this at the end of the LoadModule list. Everything else you did you shouldn't have to worry about. I've got windows xp professional edition with the latest service pack and the versions of apache and php I downloaded 2 days ago. Hope this helps, I know it seems like a longshot but hey, why not?
Back to top


Reply to topic   Topic: error while starting apache2_2 View previous topic :: View next topic
Post new topic   Forum Index -> Apache