Link to home
Create AccountLog in
Avatar of rgb192
rgb192Flag for United States of America

asked on

apache2.2 does not start anymore on windows 7

I can not run the apache service
and this is the administrative event log error


error1:
The Apache2.2 service terminated with service-specific error Incorrect function..


error2:
   The Apache service named
   
   reported the following error: >>> 
   httpd.exe: Syntax error on line 499 of C:/Apache/conf/httpd.conf: Cannot load C:/PHP5/php5apache2_2.dll into server: The specified module could not be found.
Avatar of Seth Simmons
Seth Simmons
Flag of United States of America image

is this a new php installation?  is the file in that directory?
ASKER CERTIFIED SOLUTION
Avatar of tiago_aviz
tiago_aviz

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Avatar of rgb192

ASKER

the c:/apache is for zend framework




>>is this a new php installation?  is the file in that directory?
old installation



>>Are you still running XAMPP and WAMP together?
The error message could indicate port 80 is already in use and it cannot be bound to.

I uninstalled xampp
and got this error

and then I uninstalled wamp

and reinstalled wamp


>>Check if the specified file C:/PHP5/php5apache2_2.dll exists.
does not exist
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Avatar of rgb192

ASKER

now I removed c:/xampp and deleted c:/xampp folder
and the
c:/apache service is gone

how can I get it back
Avatar of rgb192

ASKER

reinstalled php to
c:/php5/

and there is
c:/php5/php5apache2_2.dll


I also have
c:/apache

but can not find the apache service in services

how to start apache service
Avatar of rgb192

ASKER

thanks for the successful answers
apache is running
Had similar issue.  running Apache 2.2 on WAMP.  Ran fine for over a year, then after server reboot Apache would not start and gave error: The Apache2.2 service terminated with service-specific error Incorrect function..  Turned out to be because MS IIS web service started and was using port 80. Very strange since I had that service disabled.  Maybe an update set it back to Automatic.  Anyway, stopped that service and Apache start normally.