Xampp control panel apache error - php

I installed xampp control panel v3.2.1 , my apache is not working as it gives error that
12:43:58 [Apache] Problem detected!
12:43:58 [Apache] Port 80 in use by "Unable to open process" with PID 4!
12:43:58 [Apache] Apache WILL NOT start without the configured ports free!
12:43:58 [Apache] You need to uninstall/disable/reconfigure the blocking application
12:43:58 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
i dont have anything running on my background . any alternative ??

Your system port 80 used by other resources. That's the reason for this error.
Change default port 80 into something
Goto your xampp folder > apache >config> find httpd file. On that file Search word listen. Default it set as 80 change into 2000 or 3000 any. Save that file. Run again your xampp. :)

This usually happens when you have Skype running. If that's your case and you don't want to change your Apache configuration, open Skype and look for the menu Tools -> Options -> Advanced -> Connection. Uncheck the box "Use port 80 and 443 as alternatives for incoming connections"

Related

xammpp error (i have this error while installing Xampp and apache. how do i handle it?)

XAMPP Installation Directory: "e:\xampp\"
Checking for prerequisites
All prerequisites found
Initializing Modules
***
Problem detected! Port 80 in use by "Unable to open process" with
PID 4! Apache WILL NOT start without the configured ports free! You
need to uninstall/disable/reconfigure the blocking application or
reconfigure Apache and the Control Panel to listen on a different port
XAMPP Apache Service is already running on port 443
XAMPP MySQL Service is already running on port 3306
***
Problem detected! Port 8080 in use by
""E:\xampp\apache\bin\httpd.exe" -k runservice"! Tomcat WILL NOT
start without the configured ports free! You need to
uninstall/disable/reconfigure the blocking application or reconfigure
Tomcat and the Control Panel to listen on a different port
Starting Check-Timer
Control Panel Ready
Executing "services.msc"
Attempting to stop Apache service...
Attempting to stop MySQL service...
Status change detected: stopped
Status change detected: stopped
I disabled bluetooth and all other running connections and applications,and it worked fine for me

XAMPP: Problems with ports

I tried to run XAMPP, but due to some port conflicts I had to change my ports.
When I try to start it now, I get the following message:
17:00:07 [Apache] Problem detected!
17:00:07 [Apache] Port 80 in use by "Unable to open process" with PID 4!
17:00:07 [Apache] Apache WILL NOT start without the configured ports free!
17:00:07 [Apache] You need to uninstall/disable/reconfigure the blocking application
17:00:07 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
17:00:07 [Apache] Problem detected!
17:00:07 [Apache] Port 443 in use by "Unable to open process" with PID 4!
17:00:07 [Apache] Apache WILL NOT start without the configured ports free!
17:00:07 [Apache] You need to uninstall/disable/reconfigure the blocking application
17:00:07 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
Despite this message, Apache seems to work, even the ports are right:
Also, I can access it with http://localhost:8080/.
So do I have to worry about that message?
Did you change the line listen 80 in httpd.conf to listen 8080? This should resolve the error message. As usual restart Apache after the change to apply it.
Ignore that bloke going on about Skype, it's probably IIS/WWW publishing service running in the background (start > run > services.msc and stop the world wide web publishing service if it's running).
The WWW service is now enabled by default in Windows 10 if you've recently installed Xampp on a Windows 10 platform or upgraded your install, I had the same issue.

xampp control panel Apache port is not opening

I have downloaded XAMPP control panel and installed it, but when I run the control panel it shows the error below. I have changed the port id and the PID, but the same error is reported despite that. I have also reinstalled XAMPP three times, but the issue persists.
[Apache] You need to uninstall/disable/reconfigure the blocking application
[Apache] or reconfigure Apache and the Control Panel to listen on a different port
[Apache] Problem detected!
[Apache] Port 443 in use by "Unable to open process" with PID 1444!
[Apache] Apache WILL NOT start without the configured ports free!
[Apache] You need to uninstall/disable/reconfigure the blocking application
[Apache] or reconfigure Apache and the Control Panel to listen on a different port.
For change port skype, you can choose menu Tools > options then choose advanced > Connection read it change port besides 80

port 443 is used by http.exe, Apache, Xampp

I have problems with Xampp. It does not execute my php scripts. When I open php file the php code appears in the browser.
When I open Xampp it has these red lines:
Apache Service detected with wrong path
11:53:25 PM [Apache] Change XAMPP Apache settings or
11:53:25 PM [Apache] Uninstall/disable the other service manually first
11:53:25 PM [Apache] Found Path: ERROR: Not Able To Open Service Manager
11:53:25 PM [Apache] Expected Path: "c:\xampp\apache\bin\httpd.exe" -k runservice
11:53:25 PM [Apache] Problem detected!
11:53:25 PM [Apache] Port 443 in use by "httpd.exe"!
11:53:25 PM [Apache] Apache WILL NOT start without the configured ports free!
11:53:25 PM [Apache] You need to uninstall/disable/reconfigure the blocking application
11:53:25 PM [Apache] or reconfigure Apache to listen on a different port
Please help me? What can I do?please....Thanks in advance
with refer to this Q
or With refer to this page:
The easiest way to solve this XAMPP problem is shutdown your Skype, and restart your XAMPP Control Panel. But that is not a smart solution.
So how to solve this port in use issue? In Skype Options: [Connection] , there is a check-box labelled Use port 80 and 443 as alternatives for incoming connections.
This is the root problem, so simply clear / unchecked it and save. You may need to restart Skype.
Restart your XAMPP Control Panel, and the error message is now gone! Try to start Apache, and succeeded.
What if the port is not used by Skype, but by other applications such as TeamViewer or any other things? If so, then XAMPP have to use another port.
How to change Apache default port in XAMPP?
From XAMPP Control Panel, under Apache, click the Config button, and
select the Apache (httpd.conf).
Inside the httpd.conf file, find line that says
Listen 80
And change the 80 into any number / port you want. In this example
I’m using port 8080.
Listen 8080
Still from the httpd.conf file, find another line that says
ServerName localhost:80
And change 80 to 8080.
ServerName localhost:8080
Next step, still from XAMPP Control Panel, under Apache, click the
Config button again, but this time select the Apache
(httpd-ssl.conf). Inside the httpd-ssl.conf file, find line that says
Listen 443
And change the 443 into any number / port you want. I’ll using 4433
as the new port number.
Listen 4433
Still from the httpd-ssl.conf file, find another line that says
<VirtualHost _default_:443>
ServerName localhost:443
And change 443 to 4433.
<VirtualHost _default_:4433>
ServerName localhost:4433
Remember to save httpd.conf file and httpd-ssl.conf after you make some changes.
Now it’s time to fire-up our Apache in XAMPP Control Panel. If your doing good on editing those files, you should see that Apache is running and the port number has changed to 8080 and 4433.
If you use Windows Go to Task Manager and Stop "httpd.exe"
The errors/warnings suggest that you already have another Apache installed as a service, on port 443.

Why won't Apache start in XAMPP installation?

I've taken the first steps to learning PHP - think it would be a good step in the right direction. I would like some help however on installing XAMPP. I have downloaded the file and all that through the Apache Friends site, but when I head to to control panel, I get numerous errors.
This is what it says for me:
**10:21:53 [Apache] Problem detected!
10:21:53 [Apache] Port 80 in use by "Unable to open process" with PID 4!
10:21:53 [Apache] Apache WILL NOT start without the configured ports free!
10:21:53 [Apache] You need to uninstall/disable/reconfigure the blocking application
10:21:53 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
10:21:53 [Apache] Problem detected!
10:21:53 [Apache] Port 443 in use by "C:\Program Files (x86)\Skype\Phone\Skype.exe" with PID 3748!
10:21:53 [Apache] Apache WILL NOT start without the configured ports free!
10:21:53 [Apache] You need to uninstall/disable/reconfigure the blocking application
10:21:53 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
10:21:53 [main] Starting Check-Timer
10:21:53 [main] Control Panel Ready**
Could someone please tell me what this means and how I remedy it? Thanks very much.
It seems that port 80 and 443 is used by another program. From my experince - open Skype. Go to Tools -> Options -> Advanced -> Connection. Please uncheck "use port 80 and 443 as alternatives...."
Then, try to restart Apache.
I tried this and it worked really well...
As you have already figured the port 80 is in use by something with pid 4
This application's detailed info can be seen using the details tab on the task manager window.
However I found out the application is not writable and hence I figured it shouldn't be touched.
Instead I changed the port of the apachae server on xampp to be 85
Open xampp and click on config in front of apache then select the first option that appears allowing you to open httpd.conf and then in the notepad file that opens up, find the word listen and go to the 4th word that it finds.
It will read something like Listen 80
Change this to any number except 80 (like 85) and voila it work
Opening the XAMPP control panel as Administrator worked for me.
The solution for me was to:
1) Stop IIS (stop the "World Wide Web Publishing Service" and set its startup type to Manual)
2) Stop the "Web Deployment Agent Service" and set its startup type to Manual.
...as detailed in http://www.sitepoint.com/unblock-port-80-on-windows-run-apache/
Port 80 in use by "Unable to open process" with PID 4!
A process with a PID of 4 that is taking port 80, is almost always the Window's HTTP.SYS Service. It's a type of a proxy service for other services. And it's safe to disable it in most cases.
From command-line, Run As Admin.
net stop http
sc config http start= disabled
Or you can switch it's Startup Mode to "On Demand".
For more options and also a list of other port 80 Services see Opening Up Port 80 For Apache to Use On Windows.
Steps which u can try:
1) uninstall or stop Skype and check again after restarting the server.
2) use this to get the port usage details : use cmd netstat -a -b
3) or use this GUI tool to identify the ports used by other programs.
4) uninstall Xammp and try with Wamp Server
in my case a website was configured on IIS , i stopped and it worked well.
You have to close down Skype. It tells you exactly why it can not start in the error message.

Categories