When I was restarting the apche2, I was getting this message..
sudo service apache2 restart
* Restarting web server apache2 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
and when I was typed the localhost/phpmyadmin
, it showing the message
-NOT FOUND The requested URL /phpmyadmin was not found on this server. Apache/2.4.7 (Ubuntu) Server at localhost Port 80
Please help me in this.
sudo ln -s /usr/share/phpmyadmin /var/www/html/phpmyadmin
& thensudo /etc/init.d/apache2 reload
on a terminal and let me know. Sudo requires admin password, therefore; please provide accordingly. :)phpmyadmin
installed. If that's the case, you shouldn't have to symlink/usr/share/phpmyadmin
like above mentioned, however you should check that you have/etc/apache2/conf-available/phpmyadmin.conf
and that it has been enabled in/etc/apache2/conf-enabled/phpmyadmin.conf
. If it is found inconf-available
but not inconf-enabled
then you will need to enable it usingsudo a2enconf phpmyadmin.conf
orsudo a2enconf /etc/apache2/conf-available/phpmyadmin.conf
.sudo apt-get install --reinstall phpmyadmin
- this will automatically setupphpmyadmin
for you.