PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Monday, January 31, 2022

[FIXED] Phpmyadmin and Apache 2.4 - 404 errors

 January 31, 2022     apache2, phpmyadmin     No comments   

Issue

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...


Solution

Ok so I found the answer with a bit of fiddling.

Basically /phpmyadmin is an alias for /usr/share/phpmyadmin This was previously defined in phpmyadmin.conf. I now have it defined in the apache2 alias.conf file, and it works fine.

Not sure if that means that I am missing out on other things defined in phpmyadmin.conf, but will have to see, I suppose.



Answered By - DatsunBing
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing