Problem with the permissions in phpMyAdmin

2

I am using phpMyAdmin as a database manager on my Centos server, despite having access to all of them, in the phpMyAdmin.conf . I have SELinux turned off.

When trying to enter from my browser I get the following error:

  

Forbidden: You do not have permission to access / phpmyadmin / on this server

As a curiosity, putting the local server does not have access either from localhost .

Is phpMyAdmin 4.7.0 compatible with the PHP 7.1.4 version?

Previously with PHP 5.5 it worked correctly.

The versions of the technologies I use:

  • Centos 7.3 .
  • PHP 7.1.4 .
  • PHP MyAdmin 4.7.0 .
  • Apache 2.4.6 .
  • MySql 10 .

phpMyAdmin.conf :

<Directory /usr/share/phpMyAdmin/>
   AddDefaultCharset UTF-8

   <IfModule mod_authz_core.c>
     # Apache 2.4
     <RequireAny>
       #Require ip 127.0.0.1
       #Require ip ::1
       Require all granted
     </RequireAny>
   </IfModule>
   
   <IfModule !mod_authz_core.c>
     # Apache 2.2
     Order Deny,Allow
     Deny from All
     Allow from 127.0.0.1
     Allow from ::1
   </IfModule>

</Directory>
    
asked by TheMac 07.05.2017 в 11:21
source

1 answer

1

phpMyAdmin 4.7.0 supports PHP 5.5 to 7.1 and MySQL 5.5 or higher, so that's no problem.

I would recommend you look at what Apache is saying in your logs. Open the file /etc/httpd.conf and look for the directive LogFile , surely it is the directory /var/log/httpd

Once you are in the directory of the logs, make a cat *.log and paste here which is what it tells you.

    
answered by 20.07.2017 в 16:56