xampp: Apache WebServer is stopped

Posted by

Error:

XAMPP: Stopping Apache...not running. XAMPP: Stopping MySQL...not running. XAMPP: Stopping ProFTPD...not running. XAMPP: Starting Apache...fail. XAMPP: Another web server is already running.

Solution :

sudo service apache2 status

If it is running, to stop it, do

sudo service apache2 stop

Step 1: Open the file /opt/lampp/etc/httpd.conf

Step 2: Find Listen 80 and change it to some other port (eg Listen 8000)

Step 3: Open the file /opt/lampp/etc/extra/httpd-ssl.conf

Step 4: Find Listen 443 and change it to some other port (eg Listen 4431)

Step 5: Open the file /opt/lampp/lampp

Step 6: Search for the testport 80 and replace it with testport 8000. Also change testport 443 to testport 4431.

Step 7: Now run /opt/lampp/lampp start (it works now).

Leave a Reply

Your email address will not be published. Required fields are marked *

0
Would love your thoughts, please comment.x
()
x