Softaculous


Topic : Unable to start Apache on Win 10


Posted By: webraven on January 11, 2016, 3:18 pm
I just installed Ampps on my new laptop running Windows 10.  But, everytime I try to start Apache, I get the error, "Apache port:80 is being used by another application".

Any ideas why?

Thanks,
webraven

Posted By: nickgreaves on January 12, 2016, 6:02 pm | Post: 1
I've similarly just upgraded to Win 10 on my PC and am experiencing the same problem, where there had been none before with Win 7 . My laptop - upgraded a couple of months ago - works just fine.
After following the help file's diagnostic recommendations it appears to be a port conflict with 'Windows System and Compressed Memory' - whatever that is. I've opened a ticket with Softaculous Support Centre, so I'll keep you updated with any response I get.
Let me know if you come up with a solution in the meanwhile!

Posted By: bryan39 on January 12, 2016, 8:05 pm | Post: 2
For Apache to be able to start/run, it has to be able to bind to (and listen on) port 80 (the HTTP port).

If after installing Apache (or a WAMP such as WampDeveloper Pro), rebooting, and trying to start Apache again – Apache is not able to bind to port 80 and start, then another Application or Service has already taken this port.

For Apache to start, we have to figure out what’s using port 80 (and possibly port 443) on your system, and stop and disable it.

Known Windows Services That Listen on Port 80

From Services Manager (run: services.msc), stop and disable these native Windows Services which are known to bind to port 80.

Double click Service, and change ‘Startup Type’ to ‘Disabled’.

SQL Server Reporting Services (ReportServer)
Web Deployment Agent Service (MsDepSvc)
BranchCache (PeerDistSvc)
Sync Share Service (SyncShareSvc)
World Wide Web Publishing Service (W3SVC)
Internet Information Server (WAS, IISADMIN)
You might, or might not, have some of these Services installed and running.

Sorry, that's all I know.

-----------------------
FacebookYoutube Channel
Home Page

Posted By: webraven on January 12, 2016, 10:09 pm | Post: 3
Although none of those listed services were running on my laptop, I was able to get a little further.  If I update the config file to listen to port 82, for example, the error message changes to the ssl port 465.  And, I couldn't find the config file to update this or if it's even possible.

So, then I tried to install and test Xampp and this software has a button for both config files, and when I change the 465 port Apache still fails to start but I get more information.

Skype is using the secure port!

The only way I was able to get Apache to run was to quit out of Skype.  Since I have another laptop on my desk, I'll run Skype there when I'm developing locally, but I hate to sometimes NOT come up with the proper solutions.

Thanks for your help!!!

Posted By: nickgreaves on January 13, 2016, 4:55 pm | Post: 4
Well I've had no response from the helpdesk.

However after heading over to this page - https://www.devside.net/wamp-server/opening-up-port-80-for-apache-to-use-on-windows - and reading admin's (to my untutored eyes) definitive article, I got lucky at item 5.World Wide Web Publishing Service (W3SVC). After stopping the service and restarting AMPPS, Apache started fine.

Thought I'd pass it on in case it's of use to anyone else feeling as desperate as I was!

Posted By: webraven on January 13, 2016, 5:01 pm | Post: 5
Thanks for that information!  Of course, that service is not on my machine nor are the other 5 or 6 possible services that I came across in forum threads.  I did find out this, however.  I mentioned that Skype is the application using the secure port, 443.

If I quit out of Skype and start Apache, it works fine.  In fact, I can even launch Skype up again and no problems.  So, this is my plan going forward!

Thanks again, hope this helps further.
- webraven

Posted By: nickgreaves on January 13, 2016, 5:17 pm | Post: 6
Thanks for that. Of course there's no sign of Skype on my PC!
It seems to me that Softaculous should address a problem that seems quite prevalent and make it easier to set a non-conflicting port number. Still, AMPPS is a superb piece of kit when it works!

Posted By: webraven on January 13, 2016, 5:27 pm | Post: 7
Agreed!

Posted By: ndaweb on October 22, 2018, 3:36 am | Post: 8
open cmd as administrator

first use:
net stop http /y

then:
sc config http start= disabled

restart apache on ampps panel.
do it again!

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.