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

Problems with the Windows version of XAMPP, questions, comments, and anything related.

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

Postby vagish » 20. October 2011 05:22

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
vagish
 
Posts: 2
Joined: 20. October 2011 04:57
Operating System: Windows xp service pack 3

Re: Cant start apache server

Postby Sharley » 20. October 2011 05:25

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
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Cant start apache server

Postby vagish » 20. October 2011 06:12

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
vagish
 
Posts: 2
Joined: 20. October 2011 04:57
Operating System: Windows xp service pack 3

Re: Cant start apache server

Postby Sharley » 20. October 2011 06:14

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?
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Cant start apache server

Postby AshishNehete » 20. October 2011 11:12

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)
AshishNehete
 
Posts: 11
Joined: 20. October 2011 05:53
Operating System: Windows 7 32 bit

Re: Cant start apache server

Postby Sharley » 20. October 2011 11:23

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.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Cant start apache server

Postby AshishNehete » 20. October 2011 11:53

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...
AshishNehete
 
Posts: 11
Joined: 20. October 2011 05:53
Operating System: Windows 7 32 bit

Re: Cant start apache server

Postby Sharley » 20. October 2011 11:59

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.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Cant start apache server

Postby Sharley » 20. October 2011 12:12

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..
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Cant start apache server

Postby AshishNehete » 20. October 2011 15:03

Hey it worked!!
Thanks!!
AshishNehete
 
Posts: 11
Joined: 20. October 2011 05:53
Operating System: Windows 7 32 bit

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

Postby Sharley » 20. October 2011 22:38

Your welcome. 8)
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 116 guests