I am trying to install phpmyadmin on ubuntu 12.04 from here
After i installed apache2 i run the below command
sudo /etc/init.d/apache2 restart
and i got the below errors, anyway how to solve this error and install phpmyadmin on ubuntu
* Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
And when i tried localhost/phpmyadmin
from browser its showing Welcome to nginx!
You have an Nginx webserver running on probably the same port Apache is trying to bind to. I don't know who is using this Nginx webserver, but you can stop it with:
sudo service nginx stop
Then try starting Apache again.
To see who is using which ports:
sudo netstat -nptul
You have a nginx webserver running that listens to port 80, so Apache can't bind to that port. You have to shut nginx down first using something like
sudo /etc/init.d/nginx stop
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.