●やりたいこと
phpMyAdminのログイン画面を出したい
●試したこと
以下のサイトは試しましたができませんでした。
https://teratail.com/questions/25519
https://teratail.com/questions/57785
https://teratail.com/questions/57266
●「vim /etc/httpd/conf.d/phpMyAdmin.conf」で書いたこと
Alias /phpMyAdmin /usr/share/phpMyAdmin Alias /phpmyadmin /usr/share/phpMyAdmin <Directory /usr/share/phpMyAdmin/> AddDefaultCharset UTF-8 AllowOverride all Require all granted <IfModule mod_authz_core.c> #Apache 2.4 <RequireAny> Require all granted Require ip 127.0.0.1 Require ip ::1 </RequireAny> </IfModule> <IfModule !mod_authz_core.c> #Apache 2.2 Order Deny,Allow Allow from All Allow from 127.0.0.1 </IfModule> </Directory>
この後に正常に再起動は実施されています。
●サイトを開いた際
Forbidden
You don't have permission to access /phpMyAdmin on this server.
-rw-r--r-- 1 root root 2877 May 23 19:03 autoindex.conf -rw-r--r-- 1 root root 152 Jun 11 07:25 custom.conf -rw-r--r-- 1 root root 347 May 23 19:01 notrace.conf -rw-r--r-- 1 root root 1257 May 10 17:43 php-conf.7.0 -rw-r--r-- 1 root root 451 Jun 20 05:11 phpMyAdmin.conf -rw-r--r-- 1 root root 366 May 23 19:03 README -rw-r--r-- 1 root root 1252 May 23 19:01 userdir.conf -rw-r--r-- 1 root root 500 May 23 19:01 welcome.conf
何卒、お願いいたします。
回答1件
あなたの回答
tips
プレビュー