xampp: Apache WebServer is stopped
This is what works for me
- Open the file
/opt/lampp/etc/httpd.conf
- Find
Listen 80
and change it to some other port (egListen 8000
) - Open the file
/opt/lampp/etc/extra/httpd-ssl.conf
- Find
Listen 443
and change it to some other port (egListen 4431
) - Open the file
/opt/lampp/lampp
- Search for the
testport 80
and replace it withtestport 8000
. Also changetestport 443
totestport 4431
. - Now run
/opt/lampp/lampp start
(it works now).
First, verify that the service is not already running:
sudo service apache2 status
If it is running, to stop it, do
sudo service apache2 stop