Created
November 24, 2018 21:16
-
-
Save hawkapparel/33bfb9c50d36f7ac611951ea408603a7 to your computer and use it in GitHub Desktop.
FIX PHPMYADMIN NOT FOUND
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Create a link in /var/www like this: | |
sudo ln -s /usr/share/phpmyadmin /var/www/ | |
Note: since 14.04 you may want to use /var/www/html/ instead of /var/www/ | |
If that's not working for you, you need to include PHPMyAdmin inside apache configuration. | |
Open apache.conf using your favorite editor, mine is vim :) | |
sudo vim /etc/apache2/apache2.conf | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've successfully installed phpMyadmin on ubuntu 14.04 with php7 using this PPA :
sudo add-apt-repository ppa:nijel/phpmyadmin
sudo apt-get update
sudo apt-get install phpmyadmin
Note: this solution was tested witn Apache web server.