Installing XAMPP on windows - php

I was trying to install XAMPP on my windows machine and while it is installing it says installing Apache server failed because port 80 and 443 are already in use.
Since Skype is also using this port, i have uninstalled Skype and started re-installing XAMPP server.
But still after uninstalling Skype i get the same error message when XAMPP server is installing. Could someone has faced this issue before share your ideas with me
Thanks in advance for any help

At a command prompt type
netstat -a -n -o
to see which process is using the ports.
It's probably IIS if you've got that installed.
One way to fix it is to specify non-standard ports for XAMPP to use, such as 8080 and 8443.

Have You IIS Service running?
just check that IIS Service, when it running just stop it, you can stop it from Computer managment > Services

Related

Xampp Apache Ports issue with miria server

I have Installed Miria server (in vmware with server windows os) which comes with it's own apache server installed.
Now I want to install Xampp, but it shows the ports conflict with the previous Miria apache server. I have changed the server ports from all possible files (httpd, httpd-ssl, xamp->config main port and ssl port as well), but after changing this I dont get any error.
However I only see message apache service is starting in xampp control panel. Please help me here! unable to start apache server in Xampp.

Running PHP file on XAMPP, nothing happens

Today I installed xampp v3.2.1 and my Apache and MySQL servers are running as you can see:
I am worried about that red thing I marked down with rectangle.
However I can access to localhost:8080, but when I try to run PHP file (e.g. localhost/hey.php) it just shows blank space.
Your port is conflicting. May be IIS server installed on your computer occupied this port.So, try to disable it.
You can check port using below command in linux.
# netstat -tulpn

My XAMPP localhost is not running what can I do?

Recently, I installed xampp 5.6.3 successfully. For this, I turned my UAC off and uninstalled my antivirus, but now it's not working. From control panel, I started Apache, MySQL and filezilla. For my Skype I changed the port of Apache from 443 to 4433. And now it's running.But whenever I got to browser and go to http://localhost it shows a blank page with nothing.So please help me.It is hampering in learning PHP. I will be really thankful.
Thanks.
If you changed the Apache port from 443 to 4433, then you need to change your URL accordingly:
http://localhost:4433
Note: you can use netstat from a command prompt to see if the port is running.
netstat -a | find "4433"
http://technet.microsoft.com/en-us/library/bb490947.aspx

How to run Apache Tomcat and Apache2 on Ubuntu Parallel to each other?

I have run into a problem. I do both pHp development and JSF development. But i ran into a problem. You see, a while ago I installed Apache2 so that I could do pHp. But then a month later I had to install Apache Tomcat. That's when the problem arose. I followed all the instruction give on the tomcat.apache.org site for Ubuntu. It did not install. And 127.0.0.1 always pointed to Apache2's page. I tried 127.0.0.1:8080 but that did not return anything.
So I am here to ask you if there is anyway I can turn off Apache2 when i want to work with Tomcat? And turn it back on whenever I want?
The two servers should be configured to listen on different ports if you want them both available on the same host.
Instructions for changing ports for Apache2 on Ubuntu
Instructions for changing ports for Apache Tomcat on Ubuntu
Now, if you've configured Apache to listen on 80 and Tomcat to listen on port 8080, you should be able to access them at http://localhost:80 (or just http://localhost) and http://localhost:8080 respectively.
You should ensure both the servers are actually up as well. netstat -npl | grep :8080 and netstat -npl | grep :80 should help you identify what processes are bound to these two ports. If the ports are bound but don't say java or apache2, you've got some other process listening on these ports and that's going to stop the server that tries to bind to that port from starting up.
For Apache2, you could also run service apache2 status to see what the status is.
If however, you want to run both servers bound to the same port( perhaps 80) then as you seem to have guessed, you'll have to stop the other.
To stop Apache2, execute the command service apache2 stop
Stopping Tomcat depends on how you started it. You might simply run the shutdown.sh script in ${CATALINA_HOME}/bin i.e. the bin directory in your Tomcat installation folder.
Note
You will [probably] need to execute the commands as root so you'll need to prefix sudo.

Why wamp server is running on my computer?

I have first all install the Visual studio 2008 on my computer and after that wamp server. I was try to start wamp server but it can start it shows error. please help me what can i do?
Since your IIS server is also running on port 80 and wamp server also tries to run on port 80, your wamp server won't start. Change the port of the wamp server in Apache httpd.conf file to some different port and try starting the wamp server.
See the installation guide on wamp's website. Or try using the ECWamp instead of wamp.

Categories