Page 1 of 1

Cant start apache server (XP SP3) 1.7.7 [SOLVED]

PostPosted: 20. October 2011 05:22
by vagish
Hi..
I have just installed xampp 1.7.7 , i have windows xp sp3.
when i try to start apache it doesnt start.
I dont have any application(e.g skype) that using port 80
I checked that no service using port 80
I dont have IIS installed
Nothing written in error.log
I just istalled it and it cant start whats the problem???


Please help i am trying for it since week

Re: Cant start apache server

PostPosted: 20. October 2011 05:25
by Sharley
This may save some time troubleshooting so first try installing the runtime download from Microsoft and then post back if it helped.
viewtopic.php?p=187062#p187062

Re: Cant start apache server

PostPosted: 20. October 2011 06:12
by vagish
thanks Sharley ...currently i have no internet connectivity to my home desk.
i will do the following steps afterwords please let me know if i am wrong
1.completely uninstall xampp from my pc
2. Download and install Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)
3.reinstall xampp
4.start apache server.
Am I correct??

Also i had tried manually execute \xampp\setup_xampp.bat file..but it showed me "Cannt Start setup" or something like that in DOS window..is that the same issue with compiler..thanks for response

Re: Cant start apache server

PostPosted: 20. October 2011 06:14
by Sharley
No need to uninstall XAMPP at this time just download and install the runtime file to your PC and then try and start Apache.

You should also reboot your PC after installing the runtime file.

BTW, can you start MySQL without any problems?

Re: Cant start apache server

PostPosted: 20. October 2011 11:12
by AshishNehete
I have the similar problem in my desktop
cant get apache to run from xampp control panel and windows services!!

Says error: apache service not started {-1}

I have already installed Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)

Re: Cant start apache server

PostPosted: 20. October 2011 11:23
by Sharley
Use the version 3 control panel xampp-control-3-beta.exe in the xampp folder and then remove the ticks in the service modules and then try and start Apache.

Exit the older version 2.5 control panel first.

This new version is easier to troubleshoot with and has many more features including a more detailed log window and even has it's own log file in the xampp folder, after it has been started for the first time that is.

Also check the \xampp\apache\logs\error.log file for any clues.

Re: Cant start apache server

PostPosted: 20. October 2011 11:53
by AshishNehete
i use version 3 i suppose i remove the ticks it keeps coming back

the log file looks as follows

[Thu Oct 20 15:37:21 2011] [error] Attempt to reload DynaLoader.pm aborted.\nCompilation failed in require at C:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\nBEGIN failed--compilation aborted at C:/xampp/perl/site/lib/ModPerl/Const.pm line 18.\nCompilation failed in require at C:/xampp/perl/site/lib/Apache2/Const.pm line 18.\nBEGIN failed--compilation aborted at C:/xampp/perl/site/lib/Apache2/Const.pm line 18.\nCompilation failed in require at C:/xampp/apache/conf/extra/startup.pl line 9.\nBEGIN failed--compilation aborted at C:/xampp/apache/conf/extra/startup.pl line 9.\nCompilation failed in require at (eval 2) line 1.\n
[Thu Oct 20 15:37:21 2011] [error] Can't load Perl file: C:/xampp/apache/conf/extra/startup.pl for server localhost:80, exiting...

Re: Cant start apache server

PostPosted: 20. October 2011 11:59
by Sharley
Click on the Win-services button and look for Apache2.2 entry and select Stop.

Go back to the CP3 and see if the tick has gone.

If not the try now and remove the tick.

Try and start Apache again.

If not go back to the Apache2.2 entry and selct Start.

Back to the CP and see if you can start apache.

It is one or the other of these settings so experiment till you get it to work then kindly let me know if you were successful.

Thanks.

Re: Cant start apache server

PostPosted: 20. October 2011 12:12
by Sharley
To get rid of the error messages in the log file open in your text editor \xampp\apache\conf\httpd.conf file and find and change this line (down near the end) so it looks like this
Code: Select all
# Perl settings
# Include "conf/extra/httpd-perl.conf"
Save the file and try and start Apache again, check the log file and see if those messages have gone.
It is mod perl that you most likely don't need causing the errors..

Re: Cant start apache server

PostPosted: 20. October 2011 15:03
by AshishNehete
Hey it worked!!
Thanks!!

Re: Cant start apache server (XP SP3) 1.7.7 [SOLVED]

PostPosted: 20. October 2011 22:38
by Sharley
Your welcome. 8)