0

I tried to update my phpmyadmin to the newest version but now I get this error message when I try to access it:

Forbidden

You do not have permission to access this document.

I have a vps hosting with centos. Does anyone know how to fix this problem?

Levani
  • 245
  • 4
  • 14

2 Answers2

1

Sounds like the new phpMyAdmin directory has the wrong permissions. Try:

chown -R apache:apache /home/somewhere/phpMyAdmin

Obviously substitute in the appropriate path to phpMyAdmin. Also check what user Apache is using (could be apache, nobody, www, www-data, etc...).

uesp
  • 3,384
  • 1
  • 17
  • 16
1

First you need to look the logs. In CentOS Apache write log in /var/log/httpd/.

If "/home/somewhere/phpMyAdmin" is symlink, add "Options FollowSymlinks" inside ...

ooshro
  • 10,874
  • 1
  • 31
  • 31