So I just installed phpmyadmin on my server. When accessing the IP-address/phpmyadmin it said: You don't have permission to access /phpmyadmin/ on this server. Here's part I configured phpmyadmin.

<IfModule mod_authz_core.c>
 # Apache 2.4
   Require ip
   Require ip ::1
   Require all granted

I'm running apache 2.4.6.

  • Please specify the Linux distribution. – Rui F Ribeiro Feb 15 '16 at 10:02
  • 1
  • @RuiFRibeiro Im running centos 7.2 on amazon instance EC2. – The One Feb 15 '16 at 10:11
  • @123 I read that before but none of those fix worked. – The One Feb 15 '16 at 10:12
  • Does your web server user (e.g. nobody) have read access (POSIX permissions) to the files under phpmyadmin? – vic Feb 15 '16 at 10:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.