How TO Solve Apache/2.4.29 (Ubuntu) Server at localhost Port 80 in ubuntu
to run Xampp on Linux is different from running Xampp on Windows. If on Windows, just one installation and xampp can be used smoothly.
However, it’s different on Linux, after installing xampp, you can’t necessarily use it immediately. Sometimes there are still errors that appear so Xampp can’t run the server, the error is usually as below.
Starting XAMPP for Linux 7.2.11-0...
XAMPP: Starting Apache...fail.
XAMPP: Another web server is already running.
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD...ok.
To solve it you need to restart the apache. You can try as bellow
sudo /etc/init.d/apache2 stop
sudo /opt/lampp/lampp start
and look your apache in runing ok. thanks..