Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1199
  • Last Modified:

Apache Service won't start

I have just installed apache on my server to run php scripts.  when i installed it, i had a message saying that apache was unable to open the log files.  When i try to start apache as a service, i now get the message "windows could not start the Apache 2.2 on local computer.  For more information, review the system event log.  If this is a non-Microsoft service, contact the service vendor, and refer to server specific error code 1."   The system log says that it was successfully sent a start control, then entered the stop state and terminated with service-specific erro 1(0x1).

I am using Windows 2003 Server and IIS is intalled and running......
0
MichelleBrewitt
Asked:
MichelleBrewitt
1 Solution
 
TeRReFCommented:
Both IIS and Apache want to listen on port 80. Try to disable IIS and start Apache again. See if that helps...
0
 
MichelleBrewittAuthor Commented:
Tried it and still get the same message.....
0
 
jalalmegadethCommented:
Hi

You can force Apache to listen on port 8080. but when you try to see your pages you have to specify that port, eg:

http://127.0.0.1:8080

by the way, you can install PHP and mySql on IIS
here's a link :
http://www.peterguy.com/php/install_IIS6.html
0
 
FapikoCommented:
Open the error.log file in your Apache folder and see what Apache has to say about the error. Also, try going to Start->Programs->Apache HTTP Server->Configure Server->Test Apache Configuration
This should show you what error is occurring upon Apache startup and give you the line number in the htdocs.conf file so you can modify it and fix the problem.
0
 
HonorGodCommented:
Try starting it at the command line, and see what error messages are displayed at the console.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now