Home Download You don’t have permission to access /phpmyadmin on this server.
formats

You don’t have permission to access /phpmyadmin on this server.

Published on January 14, 2017, by in Download.

Setelah install phpmyadmin di server centos 7 secara default phpmyadmin tidak bisa diakses dari browser diluar server lokal seperti berikut muncul warning berikut :

You don’t have permission to access /phpmyadmin on this server.

solusinya yaitu edit file config phpmyadmin :

nano /etc/httpd/conf.d/phpMyAdmin.conf

kemudian beri tanda ‘#’ pada Require dan tambahkan all granted seperti dibawah ini :

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

Leave a Reply

Your email address will not be published. Required fields are marked *