質問編集履歴

4

追記

2017/07/10 04:42

投稿

mifi
mifi

スコア10

test CHANGED
File without changes
test CHANGED
@@ -75,3 +75,47 @@
75
75
  【追記】
76
76
 
77
77
  [このサイト](https://gtrt7.com/blog/linux/phpmyadmin-setup)を参考にphpmyadminインストールしました。もしかして、このインストール方法がまずかったとか。yum install phpmyadminにすべきでしたか。
78
+
79
+
80
+
81
+ 【追記】
82
+
83
+ conf.d以下はこのような感じです。directory.confは自分が、追加したファイルです。しかし、解決しなかったので、今回質問しました。
84
+
85
+
86
+
87
+ [root@localhost httpd]# cd conf.d
88
+
89
+ [root@localhost conf.d]# ll
90
+
91
+ 合計 24
92
+
93
+ -rw-r--r--. 1 root root 366 4月 13 06:04 README
94
+
95
+ -rw-r--r--. 1 root root 2926 4月 13 06:03 autoindex.conf
96
+
97
+ -rw-r--r--. 1 root root 170 7月 10 11:33 directory.conf
98
+
99
+ -rw-r--r--. 1 root root 1185 7月 7 17:22 php.conf
100
+
101
+ -rw-r--r--. 1 root root 1252 4月 12 22:50 userdir.conf
102
+
103
+ -rw-r--r--. 1 root root 824 4月 12 22:50 welcome.conf
104
+
105
+ [root@localhost conf.d]# cat directory.conf
106
+
107
+ <Directory "/var/www/html/phpmyadmin">
108
+
109
+ # 設定内容
110
+
111
+ Options Indexes FollowSymLinks
112
+
113
+ AllowOverride None
114
+
115
+ Order allow,deny
116
+
117
+ Allow from all
118
+
119
+ </Directory>
120
+
121
+ [root@localhost conf.d]#

3

追記

2017/07/10 04:42

投稿

mifi
mifi

スコア10

test CHANGED
File without changes
test CHANGED
@@ -69,3 +69,9 @@
69
69
  phpmyadminのディレクトリ自体には、全てのパーミッションが許可されているのに、
70
70
 
71
71
  そのディレクトリの中のファイルに実行権限がないのが問題だったりするのでしょうか。
72
+
73
+
74
+
75
+ 【追記】
76
+
77
+ [このサイト](https://gtrt7.com/blog/linux/phpmyadmin-setup)を参考にphpmyadminインストールしました。もしかして、このインストール方法がまずかったとか。yum install phpmyadminにすべきでしたか。

2

追記

2017/07/10 04:21

投稿

mifi
mifi

スコア10

test CHANGED
File without changes
test CHANGED
@@ -21,3 +21,51 @@
21
21
  e search permissions are missing on a component of the path
22
22
 
23
23
  と記載されていました。
24
+
25
+
26
+
27
+ 【追記】
28
+
29
+ [root@localhost html]# ll
30
+
31
+ 合計 12
32
+
33
+ drwxr-xr-x. 2 root root 29 7月 10 11:45 a
34
+
35
+ -rw-r--r--. 1 root root 4 7月 7 17:55 index.html
36
+
37
+ drwxrwxrwx. 14 root root 4096 7月 10 12:09 phpmyadmin
38
+
39
+ [root@localhost html]# cd phpmuadmin
40
+
41
+ bash: cd: phpmuadmin: そのようなファイルやディレクトリはありません
42
+
43
+ [root@localhost html]# cd phpmyadmin
44
+
45
+ [root@localhost phpmyadmin]# ll
46
+
47
+ 合計 716
48
+
49
+ -rw-rw-rw-. 1 root root 1655 1月 23 14:20 CONTRIBUTING.md
50
+
51
+ -rw-rw-rw-. 1 root root 29494 1月 23 14:20 ChangeLog
52
+
53
+ -rw-rw-rw-. 1 root root 1811 1月 23 14:20 DCO
54
+
55
+ -rw-rw-rw-. 1 root root 18092 1月 23 14:20 LICENSE
56
+
57
+ -rw-rw-rw-. 1 root root 1520 1月 23 14:20 README
58
+
59
+ -rw-rw-rw-. 1 root root 29 1月 23 14:20 RELEASE-DATE-4.6.6
60
+
61
+ -rw-rw-rw-. 1 root root 1585 1月 23 14:20 browse_foreigners.php
62
+
63
+ -rw-rw-rw-. 1 root root 6547 1月 23 14:20 build.xml
64
+
65
+ 以下略...
66
+
67
+
68
+
69
+ phpmyadminのディレクトリ自体には、全てのパーミッションが許可されているのに、
70
+
71
+ そのディレクトリの中のファイルに実行権限がないのが問題だったりするのでしょうか。

1

追記

2017/07/10 03:25

投稿

mifi
mifi

スコア10

test CHANGED
File without changes
test CHANGED
@@ -9,3 +9,15 @@
9
9
  You don't have permission to access /phpmyadmin/ on this server.」
10
10
 
11
11
  と表示されてしまい、アクセスができないです。phpmyadminのファイルのパーミッションは、許可されているので、原因がよく分かりません。どなたか案よろしくお願いします。
12
+
13
+
14
+
15
+ 【追記】
16
+
17
+ webサーバーはApacheを使っています。
18
+
19
+ エラーログを見たら、(13)Permission denied: [client ::1:57052] AH00035: access to /phpmyadmin/index.html denied (filesystem path '/var/www/html/phpmyadmin/index.html') becaus
20
+
21
+ e search permissions are missing on a component of the path
22
+
23
+ と記載されていました。