Let’s start the discussion about How to fix XAMPP: Starting Apache fail. in following methods.
XAMPP: Starting Apache fail
Apache2 will be started when Debian7 boots up. As a result, you need stop it first, then try to start lampp. In order to solve this issue run the below commands.
sudo /etc/init.d/apache2 stop sudo /opt/lampp/lampp start
I hope the strategies listed above work for you. Happy coding and come back again.
Similar Post : How to install or enable php curl extension in ubuntu