How to fix "url /phpmyadmin was not found in this server" problem in Ubuntu (linux)?

Sometimes after installing LAMP, when you try to open the phpmyadmin in your browser you might get the error like this:
"Not Found
The requested URL /phpMyAdmin was not found on this server.
Apache/2.2.12 (Ubuntu) Server at localhost Port 80"

This is likely to be caused by not checking apache2 during installation. To reinstall you can use the following command:



 sudo dpkg-reconfigure -plow phpmyadmin

If the above code does not work you can include the phpMyadmin-shipped Apache configuration into Apache using the command below:

sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf
sudo /etc/init.d/apache2 reload

Comments

  1. These facts are really interesting. Few of them were well known for me but many of them were brand new for me too!
    I will print this one out and show to my friends because they will be definitely interested in that. Thanks!
    phpMyAdmin

    ReplyDelete

Post a Comment

Popular posts from this blog

Getting latitude, longitude, timezone using ip address.