I have installed
Apache2, mysql, php5 and phpmyadmin on my Ubuntu 14.04 but later on mistakenly I install nginx.
Now my localhost page show me Welcome to nginx server. And the
localhost/phpmyadmin link is not working.
How can I get my LAMP server back?
i removed ngnix using command
sudo apt-get remove nginx sudo apt-get purge nginx
sudo apache2ctl restart
but at the end on restarting apache2 i get this error
sudo apache2ctl restart AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message httpd not running, trying to start (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80 (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down AH00015: Unable to open logs Action 'restart' failed.