logo
bgImage
http://www.winsnort.com


Welcome to the home of WinIDS - Windows Intrusion Detection System!
header

Thank you for visiting WINSNORT.com


Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
kbrutlagOffline
19 Post subject: Apache service error  PostPosted: Apr 11, 2012 - 05:49 AM



Joined: Apr 11, 2012
Napervile, IL
Posts: 5
Location: Napervile, IL
Status: Offline
Working throught the latest guide and install I encountered an error while 'Configuring Apache2 to Run As Service'. The service installed, but will not start.

I reviewed the Event Log and the following error is returned:
The Apache service named reported the following error:
>>> httpd.exe: Syntax error on line 514 of D:/winids/Apache24/conf/httpd.conf: Cannot load D:/winids/php/php5apache2_4.dll into server: The specified procedure could not be found. .

I've checked the location and file name - all appear to be good.
 
 View user's profile Send private message  
Reply with quote Back to top
MorpheusOffline
Post subject: RE: Apache service error  PostPosted: Apr 11, 2012 - 10:18 AM
Site Admin


Joined: Sep 04, 2003
East Coast - USA
Posts: 1416
Location: East Coast - USA
Status: Offline
Attach your http.conf file.

_________________
Best regards,
Morpheus...

WINSNORT.com Management


Last edited by Morpheus on Apr 14, 2012 - 07:28 AM; edited 1 time in total
 
 View user's profile Send private message Visit poster's website MSN Messenger  
Reply with quote Back to top
kbrutlagOffline
Post subject:   PostPosted: Apr 14, 2012 - 07:18 AM



Joined: Apr 11, 2012
Napervile, IL
Posts: 5
Location: Napervile, IL
Status: Offline
Sorry for the delay. Here you are.
 
 View user's profile Send private message  
Reply with quote Back to top
MorpheusOffline
Post subject:   PostPosted: Apr 14, 2012 - 07:27 AM
Site Admin


Joined: Sep 04, 2003
East Coast - USA
Posts: 1416
Location: East Coast - USA
Status: Offline
Looking at the file I could only find one mistake.

      Code:
DocumentRoot "d:winids/apache24/htdocs"

Change to:
      Code:
DocumentRoot "d:/winids/apache24/htdocs"

Let me know if that fixed it.

_________________
Best regards,
Morpheus...

WINSNORT.com Management
 
 View user's profile Send private message Visit poster's website MSN Messenger  
Reply with quote Back to top
kbrutlagOffline
Post subject:   PostPosted: Apr 14, 2012 - 07:32 AM



Joined: Apr 11, 2012
Napervile, IL
Posts: 5
Location: Napervile, IL
Status: Offline
Thanks for the quick reply.

I corrected that line (good catch), but it didn't have any effect. I'm still getting the same error when trying to start the service.
 
 View user's profile Send private message  
Reply with quote Back to top
MorpheusOffline
Post subject:   PostPosted: Apr 14, 2012 - 07:44 AM
Site Admin


Joined: Sep 04, 2003
East Coast - USA
Posts: 1416
Location: East Coast - USA
Status: Offline
I'm not sure how far you are into the http.conf file but you will need to change:

      Quote:
DirectoryIndex index.html


Change to:
      Quote:
DirectoryIndex base_main.php

_________________
Best regards,
Morpheus...

WINSNORT.com Management
 
 View user's profile Send private message Visit poster's website MSN Messenger  
Reply with quote Back to top
kbrutlagOffline
Post subject:   PostPosted: Apr 14, 2012 - 07:55 AM



Joined: Apr 11, 2012
Napervile, IL
Posts: 5
Location: Napervile, IL
Status: Offline
I'm following the install guide for XP (SP3) * 2003 Server (SP)
Apache2 Web-Server
MySQL Database Server

Revised April 5,2012

Working through the guide, I'm at 'Configuring Apache 2 to 'Run As Service'.

Am I not using the latest guide? I didn't see any reference to the line you just mentioned.
 
 View user's profile Send private message  
Reply with quote Back to top
MorpheusOffline
Post subject:   PostPosted: Apr 14, 2012 - 08:29 AM
Site Admin


Joined: Sep 04, 2003
East Coast - USA
Posts: 1416
Location: East Coast - USA
Status: Offline
Yes, you are using the current guided install.

Are you absolutely sure you installed the correct version of PHP? There are two files, and the correct one needs installed. Delete the php folder and complete the section called 'Installing PHP', making sure to install 'php-5.2.17-Win32-VC6-x86.zip'. Then configure the php.ini file again.

Did you run the modder file? From the command prompt, what do you get when you type path?

_________________
Best regards,
Morpheus...

WINSNORT.com Management
 
 View user's profile Send private message Visit poster's website MSN Messenger  
Reply with quote Back to top
kbrutlagOffline
Post subject:   PostPosted: Apr 14, 2012 - 10:04 AM



Joined: Apr 11, 2012
Napervile, IL
Posts: 5
Location: Napervile, IL
Status: Offline
I did start again on the PHP install and was sure to check the version used. The PHP folder has no php.ini, only php.ini-disk and php.ini-recommended. I checked both this files for the lines that need to be changed and discovered that neither have ;extension_dir="ext', only extension_dir="./"

Thanks for your assistance.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT -5 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic

Powered by PNphpBB2 © 2003-2009. The PNphpBB2 Team
www.eventloganalyzer.com