Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Phpmyadmin and Apache 2.4 - 404 errors

Has anyone had problems with 404 errors and phpmyadmin after upgrading to Apache 2.4?

My ubuntu machine ran the upgrade a few days ago and I have not been able to access localhost/phpmyadmin since. I just get 404 errors.

I know there have been security changes in 2.4 but I checked out the settings in the phpmyadmin.conf loaded by apache and I can't see anything that would affect non-admin users. Furthermore I commented out the old security rules and added the new ones, but still not working...

like image 550
DatsunBing Avatar asked Aug 03 '13 09:08

DatsunBing


People also ask

How do I know if phpMyAdmin is running?

Check if phpMyAdmin is Working. Finally, we can open phpMyAdmin utility by entering in your server's IP address in a browser's address bar with the addition /phpmyadmin string like so – 127.0. 0.1/phpmyadmin. There you should see the login screen.


1 Answers

the directory of configuration files apparently changed in apahe 2.4 fron conf.d to conf-available. Also, the conf files must be loaded explicitly. I did

sudo cp /etc/apache2/conf.d/phpmyadmin.conf /etc/apache2/conf-available/

sudo a2enconf phpmyadmin 

sudo service apache2 reload
like image 77
mmzc Avatar answered Oct 04 '22 16:10

mmzc