XAMPP: Another web server is already running

**Running Server on Linux Ubuntu **

In my case Nginx server is already running that's why i am getting this kind of error.

I stop the Nginx Web server first then start Apache server.

Stop Nginx server

sudo systemctl stop nginx

Start Apache Server

sudo /opt/lampp/lampp start

Must Read

Sometimes it can be port conflict between web servers. Changing the port number of both server or maybe one server we can run both servers at a time.


I had to stop all the services,

$sudo /etc/init.d/apache2 stop

$sudo /etc/init.d/mysql stop

$sudo /etc/init.d/proftpd stop

Then I restarted the server

sudo /opt/lampp/lampp restart