Common Issues with XAMPP on Windows 10

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

Common Issues with XAMPP on Windows 10

Postby vikram » 28. August 2015 08:56

Some of the common issues with XAMPP on Windows 10 and their resolution are described below.

1. XAMPP cannot start on port 80
By default, Windows 10 starts Microsoft IIS on port 80, which is the same default port used by Apache in XAMPP. As a result, Apache cannot bind to port 80.

To check whether port 80 is in use, open a command prompt and run these commands:

Code: Select all
netstat -o -n -a | findstr 0.0.0.0:80
netstat -o -n -a | findstr 127.0.0.1:80


Image

To disable IIS from running on port 80, follow these steps:

  • Open the Services panel in Computer Management.
  • Search for the "World Wide Web Publishing Service" and select it.
  • Click the link to "Stop the service".
    Image
  • Double-click the service name.
  • In the "Startup type" field, change the startup type to "Disabled".
    Image
  • Click "OK" to save your changes.

You should now be able to start Apache in XAMPP on port 80.

2. The Microsoft Edge browser cannot be used to access local addresses using the machine host name.
If your local machine has the host name 'myhost', you will not be able to access URLs such as http://myhost in Microsoft Edge. To resolve this, you should instead use the addresses http://127.0.0.1 or http://localhost.

Image

Image
vikram
 

Re: Common Issues with XAMPP on Windows 10

Postby JJ_Tagy » 28. August 2015 22:43

Another option is to uninstall IIS (WWWPS) through Programs and Features if you don't want to go through Services.
JJ_Tagy
 
Posts: 788
Joined: 30. January 2012 13:44
XAMPP version: 5.5.15
Operating System: Windows 10 Pro x64

Re: Common Issues with XAMPP on Windows 10

Postby Altrea » 28. August 2015 23:08

Isn't this thread reinventing the wheel?
viewtopic.php?f=22&t=69784&p=239058#p239059

Especially because IIS/HTTP.sys is not only a problem on Windows 10
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: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Common Issues with XAMPP on Windows 10

Postby Ananael » 29. August 2015 02:13

Didn't have any problems.... 8.1 home to 10 home upgrade.
Ananael
 
Posts: 2
Joined: 29. August 2015 01:11
Operating System: Windows 10

Re: Common Issues with XAMPP on Windows 10

Postby Muhammad Habib » 29. August 2015 03:41

Its still not fix..... :(
Muhammad Habib
 
Posts: 1
Joined: 29. August 2015 03:36
Operating System: Windows 10

Re: Common Issues with XAMPP on Windows 10

Postby micpartner » 31. August 2015 09:10

This does not function thus! :evil:

To disable IIS from running on port 80, follow these steps:

Open the Services panel in Computer Management.
Search for the "World Wide Web Publishing Service" and select it.
Click the link to "Stop the service".
Double-click the service name.
In the "Startup type" field, change the startup type to "Disabled".

Apaches answer is: :roll:

Attempting to start Apache app...
09:40:42 [Apache] Status change detected: running
09:40:43 [Apache] Status change detected: stopped
09:40:43 [Apache] Error: Apache shutdown unexpectedly.
09:40:43 [Apache] This may be due to a blocked port, missing dependencies,
09:40:43 [Apache] improper privileges, a crash, or a shutdown by another method.
09:40:43 [Apache] Press the Logs button to view error logs and check
09:40:43 [Apache] the Windows Event Viewer for more clues
09:40:43 [Apache] If you need more help, copy and post this
09:40:43 [Apache] entire log window on the forums

I am sorry :(
micpartner
 
Posts: 2
Joined: 23. August 2015 17:34
Operating System: Windows 10

Re: Common Issues with XAMPP on Windows 10

Postby tlihle » 06. September 2015 15:23

Someone please assist me, I receive the following error message when I attempt starting xampp;
4:22:34 PM [Apache] Error: Apache shutdown unexpectedly.
4:22:34 PM [Apache] This may be due to a blocked port, missing dependencies,
4:22:34 PM [Apache] improper privileges, a crash, or a shutdown by another method.
4:22:34 PM [Apache] Press the Logs button to view error logs and check
4:22:34 PM [Apache] the Windows Event Viewer for more clues
4:22:34 PM [Apache] If you need more help, copy and post this
4:22:34 PM [Apache] entire log window on the forums

What working solution do we have for this? Thank you.
tlihle
 
Posts: 1
Joined: 06. September 2015 15:16
Operating System: Windows 10

Re: Common Issues with XAMPP on Windows 10

Postby tomterrific » 08. September 2015 20:18

I have just installed XAMPP on Windows 10 and have reached the Control Panel and have started Apache and MySQL. However , when I use Firefox to get to Localhost, I do not see the screen with the menu, but instead I see a screen which says:

Welcome to XAMPP for Windows 5.6.12
You have successfully installed XAMPP on this system! Now you can start using Apache, MySQL, PHP and other components. You can find more info in the FAQs section or check the HOW-TO Guides for getting started with PHP applications.

Start the XAMPP Control Panel to check the server status.


Any help would be appreciated!
tomterrific
 
Posts: 1
Joined: 06. September 2015 21:41
Operating System: windows 10

Re: Common Issues with XAMPP on Windows 10

Postby Altrea » 08. September 2015 20:31

That is the expected behavior.
No help possivle, all is fine.
You can now start using XAMPP, placing your files, creating databases, etc
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: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Common Issues with XAMPP on Windows 10

Postby friendlyfire » 12. September 2015 14:52

Had the same issue on Windows 10 as listed above. Also had an issue with MySQL not starting.
Used the installer for Win10 xampp-win32-5.6.12-0-VC11-installer.exe for the first time on this machine.
At conclusion launched XAMPP Control Panel v3.2.1
Apache was already running error, as described above.
MySQL would not start, error InnoDB: The system tablespace must be writable!
It seems to be an administrative issue as pointed out above, the file system is denying access.
Closed XAMPP Control Panel
Opened Task Manager, Apache was running. Killed processes (there were two)
Restarted XAMPP Control Panel as Administrator
Now had option of starting as a service, started both as a service and they are running.
Hope this helps.
friendlyfire
 
Posts: 1
Joined: 12. September 2015 14:25
Operating System: Windows 10

Re: Common Issues with XAMPP on Windows 10

Postby Aaron78 » 15. September 2015 15:12

I have installed XAMPP on Windows 10 and when I go into the files directory and find hdocs, I find that I don't have the subfolder index.html. I am doing a course through UDEMY called Beginner PHP and MySQL. As I follow the videos, I am now on Lecture 9 "Setting Up A PHP Editor - Bluefish" and in the video he shows the file directory hosting XAMPP and in the subfolder of HDOCS is the folder, index.html...do I have to create this or should it already be there?
Thanks everyone and I hope this makes sense.
Aaron78
 
Posts: 1
Joined: 15. September 2015 15:03
Operating System: Windows 10

Re: Common Issues with XAMPP on Windows 10

Postby Altrea » 15. September 2015 15:56

If you follow a course then you should use the XAMPP version showed in the course.
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: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Common Issues with XAMPP on Windows 10

Postby Iwanaknow » 25. September 2015 23:55

tomterrific wrote:I have just installed XAMPP on Windows 10 and have reached the Control Panel and have started Apache and MySQL. However , when I use Firefox to get to Localhost, I do not see the screen with the menu, but instead I see a screen which says:

Welcome to XAMPP for Windows 5.6.12
You have successfully installed XAMPP on this system! Now you can start using Apache, MySQL, PHP and other components. You can find more info in the FAQs section or check the HOW-TO Guides for getting started with PHP applications.

Start the XAMPP Control Panel to check the server status.


Any help would be appreciated!


I have the same problem and I know that the page it brings you to is correct. However, when I try to run my php files the php is not rendered. It acts more like a text file when opened in a browser. I'm not an excellent computer genius so if someone could explain to me why my files are not rendering correctly that would be greatly appreciated.

I am running windows 10 with xampp 5.6.12. Everything is new as I had a hard drive fail on me so nothing was updated from a previous version. Everything is running fine from the xampp control panel as well.

friendlyfire wrote:Had the same issue on Windows 10 as listed above. Also had an issue with MySQL not starting.
Used the installer for Win10 xampp-win32-5.6.12-0-VC11-installer.exe for the first time on this machine.
At conclusion launched XAMPP Control Panel v3.2.1
Apache was already running error, as described above.
MySQL would not start, error InnoDB: The system tablespace must be writable!
It seems to be an administrative issue as pointed out above, the file system is denying access.
Closed XAMPP Control Panel
Opened Task Manager, Apache was running. Killed processes (there were two)
Restarted XAMPP Control Panel as Administrator
Now had option of starting as a service, started both as a service and they are running.
Hope this helps.


I also tried this but now I get a pop-up from user account control to verify running apache. No worries its just that I can imagine eventually of having to say yes to this all the time getting annoying. In the account control box it says Program name: Net command. Closing xampp also does not stop the programs that are running from running, but if I remember right that was a configuration setting.

I thought that reversing the steps would solve the problem, but it didn't. Still getting the pop ups on start up and shut down of apache even with it not in service. Does this have to do with killing the processes?

I think I am done for the night as I seem to be doing more harm than good.
Iwanaknow
 
Posts: 2
Joined: 25. September 2015 23:32
Operating System: Windows 10

Re: Common Issues with XAMPP on Windows 10

Postby Altrea » 26. September 2015 01:08

Iwanaknow wrote:when I try to run my php files the php is not rendered.

How do you try to run your php files?
Iwanaknow wrote:It acts more like a text file when opened in a browser.

How do you open the file in the browser?
Which address does your browsers address bar show?
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: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Common Issues with XAMPP on Windows 10

Postby Iwanaknow » 26. September 2015 01:22

Altrea wrote:
Iwanaknow wrote:when I try to run my php files the php is not rendered.

How do you try to run your php files?
Iwanaknow wrote:It acts more like a text file when opened in a browser.

How do you open the file in the browser?
Which address does your browsers address bar show?


Wow I can't believe that I forgot about the address bar location. All you had to do was ask the question and I knew exactly what you meant. Well I guess it is back to the minor leagues for me with xampp lol.

Thank you very much. That was my problem because I was trying to access the file from C: drive rather than localhost.
Iwanaknow
 
Posts: 2
Joined: 25. September 2015 23:32
Operating System: Windows 10

Next

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 107 guests