Starting Apache [Solved]

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

Starting Apache [Solved]

Postby simona » 18. April 2012 11:16

Hello,
i'm just beginning to use xampp. as i installed xampp and started it, i saw that mysql and filezilla were running and apache wasn't running. If i click "Start" it doesn't start again. what should i do?
thank you very much
simona
 
Posts: 9
Joined: 18. April 2012 11:11
Operating System: windows

Re: Starting Apache

Postby simona » 18. April 2012 11:25

Sorry, i forgot to say that i already took a look into xampp/apache/logs but this chart (logs) it's empty. i can't see the errors.
simona
 
Posts: 9
Joined: 18. April 2012 11:11
Operating System: windows

Re: Starting Apache

Postby Altrea » 18. April 2012 13:55

Hi simona,

Do you have already installed the Microsoft Visual C++ 2008 SP1 Redistributable Package (x86) Runtime?
If not, that is a requirement for the current XAMPP version.

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8290
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Starting Apache

Postby simona » 19. April 2012 08:17

Hi Altrea,
I didn't install that package actually.
Now i just installed it but apache still doesn't work.
Help please!
simona
 
Posts: 9
Joined: 18. April 2012 11:11
Operating System: windows

Re: Starting Apache

Postby Altrea » 19. April 2012 15:08

Hi simona,

Please check your \xampp\apache\logs\error.log file again for further information.

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8290
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Starting Apache

Postby simona » 19. April 2012 15:19

I checked tha chart, and it's empty, again..
simona
 
Posts: 9
Joined: 18. April 2012 11:11
Operating System: windows

Re: Starting Apache

Postby hackattack142 » 19. April 2012 22:37

1. Have you tried using the newer control panel (xampp-control-3-beta.exe)? (There is an update available here: viewtopic.php?f=16&t=48932)
2. Are you sure Ports 80 and 443 are not being used by anything on your system? (Skype, VMWare, Windows services such as World Wide Publishing Service, and other applications have been known to use and block those ports. These must be free for Apache to start. You can check it with the Netstat button in the Version 3 Control Panel mentioned above.)
3. Did you install with the Installer for the ZIP file? (The installer has been known to cause problems with installations)
4. Did you install XAMPP to a location where the path to the folder does not contain any spaces or special characters? (Ex: The Program Files folder would cause problems)
5. If you installed XAMPP to the non-default location with the ZIP installation, did you run setup_xampp.bat?
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
hackattack142
 
Posts: 703
Joined: 20. May 2011 23:29
Operating System: Windows 7 Ultimate SP1 64-Bit

Re: Starting Apache

Postby simona » 24. April 2012 14:21

Hi hackattack142,
i tried also the installation with the zip file, i run setup_xampp.bat and when i run the different server (mysql e apache) with apache_start.bat e mysql_start.bat mysql didn't have any problem but apache didn't work. The program says that "apache could not be strarted, press a key to continue".
Any ideas?
Thank you very much
simona
 
Posts: 9
Joined: 18. April 2012 11:11
Operating System: windows

Re: Starting Apache

Postby hackattack142 » 24. April 2012 22:00

Could you please do point #1 in my previous post if you have not and post the contents of the output window between Code tags. My guess is that you are having problems with point #2
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
hackattack142
 
Posts: 703
Joined: 20. May 2011 23:29
Operating System: Windows 7 Ultimate SP1 64-Bit

Re: Starting Apache

Postby verydissappointed » 26. April 2012 17:24

This worked for me:
http://www.microsoft.com/download/en/details.aspx?id=5582
but I should not have needed it. When you provide an installer it should provide EVERYTHING necessary for the installed application to work. At the very least it should have thrown a warning that the system needed this software and refused to install until it could see it. That would have been irritating, but this is maddening because it sent me on a wild goose chase. I'm glad I spend 99% of my web development time on a Mac using MAMP, because this experience makes me dread the prospect of using this software at all, and it confirms my suspicion that Windows software is generally of inferior quality.
verydissappointed
 
Posts: 1
Joined: 26. April 2012 17:15
Operating System: Windows XP

Re: Starting Apache

Postby simona » 27. April 2012 08:21

"Could you please do point #1 in my previous post if you have not and post the contents of the output window between Code tags. My guess is that you are having problems with point #2"

Hi hackattack,
i did point #1 and this is the output window (i'm not sure it's the output window between code tags, as you asked me..):
9.08.53 [main] Running as admin - good!
9.08.53 [main] Working with basedir: "c:\xampp\xampp-win32-1.7.7-vc9\xampp\"
9.08.53 [main] Initializing moduls
9.08.53 [apache] Possible problem detected: Port 80 in use by "apache.exe"!
9.08.53 [mysql] "c:\xampp\xampp-win32-1.7.7-vc9\xampp\mysql\bin\mysqld.exe" seems to be running on port 3306?
9.08.53 [main] Starting check-timer
9.09.00 [apache] Starting apache app...
9.09.01 [apache] Status change detected: running
9.09.01 [apache] Status change detected: stopped

Thank you

PS: You must excuse me, but as you probably noticed, the use of computer for these purposes is not my cup of tea..
simona
 
Posts: 9
Joined: 18. April 2012 11:11
Operating System: windows

Re: Starting Apache

Postby hackattack142 » 28. April 2012 00:11

You appear to have another Apache already running and it is blocking port 80. Did you install Apache manually at any point or any other server bundles like WAMP?
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
hackattack142
 
Posts: 703
Joined: 20. May 2011 23:29
Operating System: Windows 7 Ultimate SP1 64-Bit

Re: Starting Apache

Postby simona » 02. May 2012 09:44

Hi hackattack142,
I checked out and i had another apache running, so i disinstalled it and re-installed xampp again, but the problem is always the same:apache doesn't run.
simona
 
Posts: 9
Joined: 18. April 2012 11:11
Operating System: windows

Re: Starting Apache

Postby Altrea » 02. May 2012 11:33

simona wrote:i disinstalled it and re-installed xampp again, but the problem is always the same:apache doesn't run.

But the issue must not be the same.
So check again your output window / Apache log file for current messages on start attempts.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8290
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Starting Apache

Postby simona » 02. May 2012 11:45

Can't believe it. i reinstalled xampp again and now, i don't know why, apache is running and i can finally explore this page: http://localhost/xampp/index.php.
Thank you very much, to everybody!
simona
 
Posts: 9
Joined: 18. April 2012 11:11
Operating System: windows

Next

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 84 guests

cron