How to Starting Apache fail Ubuntu

Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:sudo /etc/init.d/apache2 stopsudo /etc/init.d/mysql stopsudo /etc/init.d/proftpd stopsudo /opt/lampp/lampp start

The remote end hung up unexpectedly git

Other solutions didn’t work in my case, doing a garbage collection fixed it for me:

git gc --aggressive

XAMPP: Starting Apache fail Ubuntu

press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

sudo /etc/init.d/apache2 stop
sudo /etc/init.d/mysql stop
sudo /etc/init.d/proftpd stop
sudo /opt/lampp/lampp start