質問編集履歴
2
php.conf
title
CHANGED
File without changes
|
body
CHANGED
@@ -33,4 +33,73 @@
|
|
33
33
|
PHP-7.0.21-1
|
34
34
|
|
35
35
|
フォルダは/var/www/pukiwiki-1.5.1にあり、
|
36
|
-
/var/www/html/以下にin -sでリンクを貼ってあります。
|
36
|
+
/var/www/html/以下にin -sでリンクを貼ってあります。
|
37
|
+
|
38
|
+
現在pho.conf%はすでにあり設定されています
|
39
|
+
```
|
40
|
+
#
|
41
|
+
# PHP is an HTML-embedded scripting language which attempts to make it
|
42
|
+
# easy for developers to write dynamically generated webpages.
|
43
|
+
#
|
44
|
+
|
45
|
+
# Cannot load both php5 and php7 modules
|
46
|
+
<IfModule !mod_php5.c>
|
47
|
+
<IfModule prefork.c>
|
48
|
+
LoadModule php7_module modules/libphp7.so
|
49
|
+
</IfModule>
|
50
|
+
</IfModule>
|
51
|
+
|
52
|
+
|
53
|
+
<IfModule !mod_php5.c>
|
54
|
+
<IfModule !prefork.c>
|
55
|
+
LoadModule php7_module modules/libphp7-zts.so
|
56
|
+
</IfModule>
|
57
|
+
</IfModule>
|
58
|
+
#
|
59
|
+
# The following lines prevent .user.ini files from being viewed by Web clients.
|
60
|
+
#
|
61
|
+
<Files ".user.ini">
|
62
|
+
<IfModule mod_authz_core.c>
|
63
|
+
Require all denied
|
64
|
+
</IfModule>
|
65
|
+
<IfModule !mod_authz_core.c>
|
66
|
+
Order allow,deny
|
67
|
+
Deny from all
|
68
|
+
Satisfy All
|
69
|
+
</IfModule>
|
70
|
+
</Files>
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
#
|
75
|
+
# Allow php to handle Multiviews
|
76
|
+
#
|
77
|
+
AddType text/html .php
|
78
|
+
|
79
|
+
#
|
80
|
+
# Add index.php to the list of files that will be served as directory
|
81
|
+
# indexes.
|
82
|
+
#
|
83
|
+
DirectoryIndex index.php
|
84
|
+
|
85
|
+
# mod_php options
|
86
|
+
<IfModule mod_php7.c>
|
87
|
+
#
|
88
|
+
# Cause the PHP interpreter to handle files with a .php extension.
|
89
|
+
#
|
90
|
+
#
|
91
|
+
# PHP is an HTML-embedded scripting language which attempts to make it
|
92
|
+
# easy for developers to write dynamically generated webpages.
|
93
|
+
#
|
94
|
+
|
95
|
+
# Cannot load both php5 and php7 modules
|
96
|
+
<IfModule !mod_php5.c>
|
97
|
+
<IfModule prefork.c>
|
98
|
+
LoadModule php7_module modules/libphp7.so
|
99
|
+
</IfModule>
|
100
|
+
</IfModule>
|
101
|
+
```
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
とphp.confが書かれています
|
1
フォルダの位置
title
CHANGED
File without changes
|
body
CHANGED
@@ -30,4 +30,7 @@
|
|
30
30
|
環境
|
31
31
|
CentOS6.9
|
32
32
|
Apache2.2.15-60
|
33
|
-
PHP-7.0.21-1
|
33
|
+
PHP-7.0.21-1
|
34
|
+
|
35
|
+
フォルダは/var/www/pukiwiki-1.5.1にあり、
|
36
|
+
/var/www/html/以下にin -sでリンクを貼ってあります。
|