phpMyAdminに接続したら次のエラー
You don’t have permission to access /phpmyadmin/index.php on this server.
/etc/httpd/conf.d/phpMyAdmin.confを修正
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
<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> |