I have on my PC "normal" Apache (with PHP and MySQL) installed, and I want to run XAMPP in parallel. I changed ports of HTTP(to 81), MySQL(to 3307) and SSL(to 4433) in the XAMPP config, but XAMPP says when I want to start it:
Starting XAMPP for Linux 1.8.1...
XAMPP: Another web server daemon is already running.
XAMPP: Another MySQL daemon is already running.
XAMPP: Starting ProFTPD...
XAMPP for Linux started.
so only the FTP server starts (which I don't need), and the web server won't start. I really don't know, where the problem is.
I'm using Archlinux x86_64
I guess that you should read: https://wiki.archlinux.org/index.php/LAMP, it is better, and more professional.
Related
After installing MAMP on my windows 10 machine, I wanted to start the servers. I got the pop-up, 'APACHE' needs open port '80' which is already used by httpd. Please help.
The matter is resolved. The mistake was in the configuration.
I installed XAMPP 1.7.7 for testing on the old php version. Current XAMPP is running fine. I changed the ports in httpd.conf from 80 to 8081, and in httpd-ssl.conf from 443 to 4434.
Still, when trying to start apache, I get the error
"error: apache was stopped unexpected. This might be caused by a blocked port, missing dependencies,..."
I also changed these ports again (they were not used in both cases).
I run XAMPP as an administrator and I disabled my firewall without any results... What are other possible options? (Error-)Logs are empty.
maybe the following information might help:
I am using windows 10, xampp 1.7.7 portable, and although I changed the ports, when I run XAMPP, it tells me the following:
Problem detected!
Port 80 in use by "Unable to open process" (PID 4)!
Apache will NOT start without the configured ports free!
Try to do this:
Run -> CMD, type services.msc and stop the program:
Web Deployment Agent Service
Afterwards try restarting XAMPP and say if it works or not!
I fixed it via reinstalling into another directory.
Yesterday I was able to completely normally use PHP and phpmyadmin with XAMPP and make apps. The only thing changed is that I restarted the computer. Now I start lampp like always
sudo /opt/lampp/lampp start
and I get
XAMPP: Starting Apache...fail.
XAMPP: Another web server is already running.
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD...ok.
Maybe the apache is the problem I don't know. But when I open localhost in browser, I get
Forbidden
You don't have permission to access / on this server.
Apache/2.4.7 (Ubuntu) Server at localhost Port 80
I added 'Require all granted' to that httpd.conf file, and it didn't help, so something else must be going on. I tried a lot of other threads on forums, nothing helped.
Ideas?
Thanks
It could be possibly because another instance of Apache is running on your system. Just try to close all intances via sudo killall -9 apache2 and then try to start/restart the LAMPP.
Most linux OS ships Apache as default server, so if you even haven't installed them, they might be running in your system.
I am currently trying to install apache tomcat for running on localhost as I am planning to run a new development project using Java.
Will this be a problem if I have already apache webserver installed locally on my machine already? In other words, will there be any port conflicts or anything other issues with the two servers running on the same machine?
No. Because Tomcat uses default port 8080 for the webserver while the "normal" webserver uses port 80 for html displaying. You can change that in the catalina properties of the tomcat server but on first install the defaults are not causing problems with a port 80 webserver.
I need to use Wordpress with XAMPP for a task in a study project.
I installed XAMPP, and now I'm supposed to start MySql and Apache from the Xamp Control Panel.
If I start the panel, it displays:
XAMPP Control Panel Version 2.5.8 (2009-07-28)
XAMPP for Windows Version 1.7.3
Windows 5.1 Build 2600 Platform 2 Service Pack 3
CurrentDirectory: C:\xampp
Status Check OK
If I click on the Start button for the Apache module, the following two lines are added:
Busy...
Apache started
But it's not started. It's still Stopped.
I found this thread, describing the same problem with a solution:
http://www.netshinesoftware.com/component/option,com_myblog/Itemid,65/show,Apache-wont-start-on-XAMPP.html/
But Skype is not running. If i check the ports in cmd with netstat -a -no there is one entry with port 80, but it's from IP adress 0.0.0.0 and the corresponding PID I cannot find in the 'tasklist'
What could be the problem and how can I resolve it?
Thank you!
Look in your error logs to see what Apache says: C:\xampp\apache\logs\error.log
And look at Server Fault; that's a better place for Apache and XAMPP questions: Questions containing 'xampp [apache] wont start' - Server Fault