bagi anda yang pernah mengalami error forbiden 403 saat install phpmyadmin di centos. ternyata cara nya cukup mudah yaitu dengan me non aktifkan / membuat jadi comment pada baris:
#Order Allow,Deny
#Deny from all
Allow from 127.0.0.1
di /etc/httpd/conf.d/phpMyAdmin.conf
ok langsung saja kita action
buka ternimal ketikan :
nano /etc/httpd/conf.d/phpMyAdmin.conf
cari baris
<Directory /usr/share/phpMyAdmin/>
<IfModule mod_authz_core.c>
# Apache 2.4
<RequireAny>
Require ip 127.0.0.1
Require ip ::1
</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>
kemudian rubah menjadi
<Directory /usr/share/phpMyAdmin/>
<IfModule mod_authz_core.c>
# Apache 2.4
<RequireAny>
Require ip 127.0.0.1
Require ip ::1
</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>
ok sekarang restart httpd nya
service httpd restart
ok sekarang coba akses phpmyadmin anda semoga berhasil
Related post: