Page 1 of 2

Common Issues with XAMPP on Windows 10

PostPosted: 28. August 2015 08:56
by vikram
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

Re: Common Issues with XAMPP on Windows 10

PostPosted: 28. August 2015 22:43
by JJ_Tagy
Another option is to uninstall IIS (WWWPS) through Programs and Features if you don't want to go through Services.

Re: Common Issues with XAMPP on Windows 10

PostPosted: 28. August 2015 23:08
by Altrea
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

Re: Common Issues with XAMPP on Windows 10

PostPosted: 29. August 2015 02:13
by Ananael
Didn't have any problems.... 8.1 home to 10 home upgrade.

Re: Common Issues with XAMPP on Windows 10

PostPosted: 29. August 2015 03:41
by Muhammad Habib
Its still not fix..... :(

Re: Common Issues with XAMPP on Windows 10

PostPosted: 31. August 2015 09:10
by micpartner
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 :(

Re: Common Issues with XAMPP on Windows 10

PostPosted: 06. September 2015 15:23
by tlihle
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.

Re: Common Issues with XAMPP on Windows 10

PostPosted: 08. September 2015 20:18
by tomterrific
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!

Re: Common Issues with XAMPP on Windows 10

PostPosted: 08. September 2015 20:31
by Altrea
That is the expected behavior.
No help possivle, all is fine.
You can now start using XAMPP, placing your files, creating databases, etc

Re: Common Issues with XAMPP on Windows 10

PostPosted: 12. September 2015 14:52
by friendlyfire
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.

Re: Common Issues with XAMPP on Windows 10

PostPosted: 15. September 2015 15:12
by Aaron78
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.

Re: Common Issues with XAMPP on Windows 10

PostPosted: 15. September 2015 15:56
by Altrea
If you follow a course then you should use the XAMPP version showed in the course.

Re: Common Issues with XAMPP on Windows 10

PostPosted: 25. September 2015 23:55
by Iwanaknow
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.

Re: Common Issues with XAMPP on Windows 10

PostPosted: 26. September 2015 01:08
by Altrea
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?

Re: Common Issues with XAMPP on Windows 10

PostPosted: 26. September 2015 01:22
by Iwanaknow
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.