DWQA QuestionsCategory: PHPHow to solve the phpmyadmin not found issue after upgrading php and apache?
kandy asked 5 years ago

Solution:


step1: Create a link in /var/www like this:

step2:sudo ln -s /usr/share/phpmyadmin /var/www/

step3:Note: since 14.04 you may want to use /var/www/html/ instead of /var/www/

step4:If that’s not working for you, you need to include PHPMyAdmin inside apache configuration.

step5: Open apache.conf using your favorite editor, mine is vim 🙂

step6: sudo nano /etc/apache2/apache2.conf

step7: Then add the following line:

Include /etc/phpmyadmin/apache.conf

  For Ubuntu 15.04 and 16.04

    sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf-available/phpmyadmin.conf
    sudo a2enconf phpmyadmin.conf
    sudo service apache2 reload
    sudo servive apache2 restart