Page 1 of 2

Starting Apache [Solved]

PostPosted: 18. April 2012 11:16
by simona
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

Re: Starting Apache

PostPosted: 18. April 2012 11:25
by simona
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.

Re: Starting Apache

PostPosted: 18. April 2012 13:55
by Altrea
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

Re: Starting Apache

PostPosted: 19. April 2012 08:17
by simona
Hi Altrea,
I didn't install that package actually.
Now i just installed it but apache still doesn't work.
Help please!

Re: Starting Apache

PostPosted: 19. April 2012 15:08
by Altrea
Hi simona,

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

best wishes,
Altrea

Re: Starting Apache

PostPosted: 19. April 2012 15:19
by simona
I checked tha chart, and it's empty, again..

Re: Starting Apache

PostPosted: 19. April 2012 22:37
by hackattack142
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?

Re: Starting Apache

PostPosted: 24. April 2012 14:21
by simona
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

Re: Starting Apache

PostPosted: 24. April 2012 22:00
by hackattack142
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

Re: Starting Apache

PostPosted: 26. April 2012 17:24
by verydissappointed
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.

Re: Starting Apache

PostPosted: 27. April 2012 08:21
by simona
"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..

Re: Starting Apache

PostPosted: 28. April 2012 00:11
by hackattack142
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?

Re: Starting Apache

PostPosted: 02. May 2012 09:44
by simona
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.

Re: Starting Apache

PostPosted: 02. May 2012 11:33
by Altrea
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.

Re: Starting Apache

PostPosted: 02. May 2012 11:45
by simona
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!