1 |
jpp |
1.1 |
diff -Nur smeserver-php-3.0.0.old/createlinks smeserver-php-3.0.0/createlinks |
2 |
|
|
--- smeserver-php-3.0.0.old/createlinks 2020-03-23 18:03:50.181000000 -0400 |
3 |
|
|
+++ smeserver-php-3.0.0/createlinks 2020-03-24 22:27:36.741000000 -0400 |
4 |
|
|
@@ -4,10 +4,21 @@ |
5 |
|
|
my $ver; my $service; my $file; my $event; |
6 |
|
|
|
7 |
|
|
#old e-smith-php |
8 |
|
|
-templates2events("/etc/php.ini", qw( |
9 |
|
|
+foreach $file (qw(/etc/php.ini |
10 |
|
|
+/opt/remi/php55/root/etc/php.ini |
11 |
|
|
+/opt/remi/php56/root/etc/php.ini |
12 |
|
|
+/etc/opt/remi/php70/php.ini |
13 |
|
|
+/etc/opt/remi/php71/php.ini |
14 |
|
|
+/etc/opt/remi/php72/php.ini |
15 |
|
|
+/etc/opt/remi/php73/php.ini |
16 |
|
|
+/etc/opt/remi/php74/php.ini)){ |
17 |
|
|
+ templates2events($file, qw( |
18 |
|
|
console-save |
19 |
|
|
bootstrap-console-save |
20 |
|
|
+ webapps-update |
21 |
|
|
+ smeserver-php-update |
22 |
|
|
)); |
23 |
|
|
+} |
24 |
|
|
|
25 |
|
|
#new php-fpm |
26 |
|
|
foreach $service (qw(php-fpm)){ |
27 |
|
|
@@ -17,12 +28,14 @@ |
28 |
|
|
$event="smeserver-php-update"; |
29 |
|
|
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/$service"); |
30 |
|
|
} |
31 |
|
|
-$event="smeserver-php-update"; |
32 |
|
|
-$service="httpd-e-smith"; |
33 |
|
|
-#when moved to systemd could become a reload-or-restart |
34 |
|
|
-safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/$service"); |
35 |
|
|
-$file="/etc/httpd/conf/httpd.conf"; |
36 |
|
|
-templates2events($file, qw(smeserver-php-update)); |
37 |
|
|
+ |
38 |
|
|
+for $event (qw(smeserver-php-update webapps-update)){ |
39 |
|
|
+ $service="httpd-e-smith"; |
40 |
|
|
+ #when moved to systemd could become a reload-or-restart |
41 |
|
|
+ safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/$service"); |
42 |
|
|
+ $file="/etc/httpd/conf/httpd.conf"; |
43 |
|
|
+ templates2events($file, $event); |
44 |
|
|
+} |
45 |
|
|
|
46 |
|
|
foreach $ver (qw( 55 56 70 71 72 73 74 )){ |
47 |
|
|
foreach $service ( "php$ver-php-fpm" ){ |
48 |
|
|
@@ -42,6 +55,8 @@ |
49 |
|
|
templates2events($file, qw(webapps-update bootstrap-console-save ibay-create ibay-delete ibay-modify ibay-modify-files ibay-modify-servers smeserver-php-update)); |
50 |
|
|
safe_symlink('/etc/e-smith/templates-default/template-begin-ini', "root/etc/e-smith/templates$file/template-begin"); |
51 |
|
|
} |
52 |
|
|
+ safe_symlink('/etc/e-smith/templates-default/template-begin-ini', "root/etc/e-smith/templates/etc/php.ini/template-begin"); |
53 |
|
|
+ |
54 |
|
|
foreach $file (qw( /etc/sysconfig/php-fpm |
55 |
|
|
/etc/logrotate.d/php-fpm )){ |
56 |
|
|
templates2events($file, qw(webapps-update bootstrap-console-save)); |
57 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/cron.daily/tmpwatch-php smeserver-php-3.0.0/root/etc/cron.daily/tmpwatch-php |
58 |
|
|
--- smeserver-php-3.0.0.old/root/etc/cron.daily/tmpwatch-php 2020-01-28 13:25:41.000000000 -0500 |
59 |
|
|
+++ smeserver-php-3.0.0/root/etc/cron.daily/tmpwatch-php 2020-03-24 22:18:26.158000000 -0400 |
60 |
|
|
@@ -1,3 +1,2 @@ |
61 |
|
|
-[ -d /var/lib/php/session ] && /usr/sbin/tmpwatch -f 8 /var/lib/php/session |
62 |
|
|
+[ -d /var/lib/php ] && /usr/sbin/tmpwatch --nodirs -f 8 /var/lib/php |
63 |
|
|
[ -d /var/cache/e-smith/files/ibays ] && /usr/sbin/tmpwatch --nodirs -f 8 /var/cache/e-smith/files/ibays |
64 |
|
|
- |
65 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php55/AllowUrlFopen smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php55/AllowUrlFopen |
66 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php55/AllowUrlFopen 1969-12-31 19:00:00.000000000 -0500 |
67 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php55/AllowUrlFopen 2020-03-24 22:22:42.675000000 -0400 |
68 |
|
|
@@ -0,0 +1 @@ |
69 |
|
|
+Off |
70 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php55/type smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php55/type |
71 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php55/type 1969-12-31 19:00:00.000000000 -0500 |
72 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php55/type 2020-03-24 22:21:23.164000000 -0400 |
73 |
|
|
@@ -0,0 +1 @@ |
74 |
|
|
+configuration |
75 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php55-php-fpm/status smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php55-php-fpm/status |
76 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php55-php-fpm/status 1969-12-31 19:00:00.000000000 -0500 |
77 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php55-php-fpm/status 2017-07-27 12:05:00.000000000 -0400 |
78 |
|
|
@@ -0,0 +1 @@ |
79 |
|
|
+enabled |
80 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php55-php-fpm/type smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php55-php-fpm/type |
81 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php55-php-fpm/type 1969-12-31 19:00:00.000000000 -0500 |
82 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php55-php-fpm/type 2017-07-27 12:05:00.000000000 -0400 |
83 |
|
|
@@ -0,0 +1 @@ |
84 |
|
|
+service |
85 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php56/AllowUrlFopen smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php56/AllowUrlFopen |
86 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php56/AllowUrlFopen 1969-12-31 19:00:00.000000000 -0500 |
87 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php56/AllowUrlFopen 2020-03-24 22:23:00.025000000 -0400 |
88 |
|
|
@@ -0,0 +1 @@ |
89 |
|
|
+Off |
90 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php56/type smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php56/type |
91 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php56/type 1969-12-31 19:00:00.000000000 -0500 |
92 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php56/type 2020-03-24 22:21:58.975000000 -0400 |
93 |
|
|
@@ -0,0 +1 @@ |
94 |
|
|
+configuration |
95 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php70/AllowUrlFopen smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php70/AllowUrlFopen |
96 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php70/AllowUrlFopen 1969-12-31 19:00:00.000000000 -0500 |
97 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php70/AllowUrlFopen 2020-03-24 22:23:06.376000000 -0400 |
98 |
|
|
@@ -0,0 +1 @@ |
99 |
|
|
+Off |
100 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php70/type smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php70/type |
101 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php70/type 1969-12-31 19:00:00.000000000 -0500 |
102 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php70/type 2020-03-24 22:22:04.263000000 -0400 |
103 |
|
|
@@ -0,0 +1 @@ |
104 |
|
|
+configuration |
105 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php71/AllowUrlFopen smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php71/AllowUrlFopen |
106 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php71/AllowUrlFopen 1969-12-31 19:00:00.000000000 -0500 |
107 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php71/AllowUrlFopen 2020-03-24 22:23:09.535000000 -0400 |
108 |
|
|
@@ -0,0 +1 @@ |
109 |
|
|
+Off |
110 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php71/type smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php71/type |
111 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php71/type 1969-12-31 19:00:00.000000000 -0500 |
112 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php71/type 2020-03-24 22:22:07.214000000 -0400 |
113 |
|
|
@@ -0,0 +1 @@ |
114 |
|
|
+configuration |
115 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php72/AllowUrlFopen smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php72/AllowUrlFopen |
116 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php72/AllowUrlFopen 1969-12-31 19:00:00.000000000 -0500 |
117 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php72/AllowUrlFopen 2020-03-24 22:23:12.599000000 -0400 |
118 |
|
|
@@ -0,0 +1 @@ |
119 |
|
|
+Off |
120 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php72/type smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php72/type |
121 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php72/type 1969-12-31 19:00:00.000000000 -0500 |
122 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php72/type 2020-03-24 22:22:10.246000000 -0400 |
123 |
|
|
@@ -0,0 +1 @@ |
124 |
|
|
+configuration |
125 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php72-php-fpm/status smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php72-php-fpm/status |
126 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php72-php-fpm/status 1969-12-31 19:00:00.000000000 -0500 |
127 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php72-php-fpm/status 2017-07-27 12:05:00.000000000 -0400 |
128 |
|
|
@@ -0,0 +1 @@ |
129 |
|
|
+enabled |
130 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php72-php-fpm/type smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php72-php-fpm/type |
131 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php72-php-fpm/type 1969-12-31 19:00:00.000000000 -0500 |
132 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php72-php-fpm/type 2017-07-27 12:05:00.000000000 -0400 |
133 |
|
|
@@ -0,0 +1 @@ |
134 |
|
|
+service |
135 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php73/AllowUrlFopen smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php73/AllowUrlFopen |
136 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php73/AllowUrlFopen 1969-12-31 19:00:00.000000000 -0500 |
137 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php73/AllowUrlFopen 2020-03-24 22:23:15.863000000 -0400 |
138 |
|
|
@@ -0,0 +1 @@ |
139 |
|
|
+Off |
140 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php73/type smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php73/type |
141 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php73/type 1969-12-31 19:00:00.000000000 -0500 |
142 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php73/type 2020-03-24 22:22:15.517000000 -0400 |
143 |
|
|
@@ -0,0 +1 @@ |
144 |
|
|
+configuration |
145 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php73-php-fpm/status smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php73-php-fpm/status |
146 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php73-php-fpm/status 1969-12-31 19:00:00.000000000 -0500 |
147 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php73-php-fpm/status 2017-07-27 12:05:00.000000000 -0400 |
148 |
|
|
@@ -0,0 +1 @@ |
149 |
|
|
+enabled |
150 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php73-php-fpm/type smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php73-php-fpm/type |
151 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php73-php-fpm/type 1969-12-31 19:00:00.000000000 -0500 |
152 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php73-php-fpm/type 2017-07-27 12:05:00.000000000 -0400 |
153 |
|
|
@@ -0,0 +1 @@ |
154 |
|
|
+service |
155 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php74/AllowUrlFopen smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php74/AllowUrlFopen |
156 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php74/AllowUrlFopen 1969-12-31 19:00:00.000000000 -0500 |
157 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php74/AllowUrlFopen 2020-03-24 22:23:19.176000000 -0400 |
158 |
|
|
@@ -0,0 +1 @@ |
159 |
|
|
+Off |
160 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php74/type smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php74/type |
161 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php74/type 1969-12-31 19:00:00.000000000 -0500 |
162 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php74/type 2020-03-24 22:22:18.988000000 -0400 |
163 |
|
|
@@ -0,0 +1 @@ |
164 |
|
|
+configuration |
165 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php74-php-fpm/status smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php74-php-fpm/status |
166 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php74-php-fpm/status 1969-12-31 19:00:00.000000000 -0500 |
167 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php74-php-fpm/status 2017-07-27 12:05:00.000000000 -0400 |
168 |
|
|
@@ -0,0 +1 @@ |
169 |
|
|
+enabled |
170 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php74-php-fpm/type smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php74-php-fpm/type |
171 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php74-php-fpm/type 1969-12-31 19:00:00.000000000 -0500 |
172 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php74-php-fpm/type 2017-07-27 12:05:00.000000000 -0400 |
173 |
|
|
@@ -0,0 +1 @@ |
174 |
|
|
+service |
175 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/00PHP smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/00PHP |
176 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/00PHP 2002-03-15 12:55:51.000000000 -0500 |
177 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/00PHP 2020-03-23 17:24:24.973999026 -0400 |
178 |
|
|
@@ -1 +1,7 @@ |
179 |
|
|
-[PHP] |
180 |
|
|
+[PHP]{ |
181 |
|
|
+use esmith::ConfigDB; |
182 |
|
|
+my $c = esmith::ConfigDB->open_ro || die "Couldn't open the configuration database\n"; |
183 |
|
|
+my $srv = ( $PHP_VERSION ne '') ? 'php' . $PHP_VERSION : 'php'; |
184 |
|
|
+our $phpcur = $c->get( $srv ); |
185 |
|
|
+$OUT .= ''; |
186 |
|
|
+} |
187 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/10LanguageOptions smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/10LanguageOptions |
188 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/10LanguageOptions 2020-01-28 13:25:41.000000000 -0500 |
189 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/10LanguageOptions 2020-03-24 11:46:15.294489640 -0400 |
190 |
|
|
@@ -2,13 +2,20 @@ |
191 |
|
|
# Language Options ; |
192 |
|
|
#;;;;;;;;;;;;;;;;;;;} |
193 |
|
|
engine = On |
194 |
|
|
-short_open_tag = On; |
195 |
|
|
+short_open_tag = { |
196 |
|
|
+ my $short = $phpcur->prop(ShortOpenTag) || $php{ShortOpenTag} || "On"; |
197 |
|
|
+ $OUT .= "$short"; |
198 |
|
|
+} |
199 |
|
|
asp_tags = Off |
200 |
|
|
precision = 14 |
201 |
|
|
-y2k_compliance = Off |
202 |
|
|
-output_buffering = Off |
203 |
|
|
+output_buffering = 4096 |
204 |
|
|
output_handler = |
205 |
|
|
+zlib.output_compression = Off |
206 |
|
|
implicit_flush = Off |
207 |
|
|
+unserialize_callback_func = |
208 |
|
|
+serialize_precision = 17 |
209 |
|
|
+disable_functions = |
210 |
|
|
+disable_classes = |
211 |
|
|
safe_mode = Off |
212 |
|
|
safe_mode_exec_dir = |
213 |
|
|
safe_mode_allowed_env_vars = PHP_ |
214 |
|
|
@@ -20,3 +27,15 @@ |
215 |
|
|
highlight.bg = #FFFFFF |
216 |
|
|
highlight.default = #0000BB |
217 |
|
|
highlight.html = #000000 |
218 |
|
|
+zend.enable_gc = On |
219 |
|
|
+{ |
220 |
|
|
+return "" if $PHP_VERSION eq ""; |
221 |
|
|
+if ( $PHP_VERSION >= 70) |
222 |
|
|
+ { |
223 |
|
|
+$OUT .="zend.assertions = -1\n"; |
224 |
|
|
+ } |
225 |
|
|
+if ( $PHP_VERSION >= 74) |
226 |
|
|
+ { |
227 |
|
|
+$OUT .="zend.exception_ignore_args = On-1\n"; |
228 |
|
|
+ } |
229 |
|
|
+} |
230 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/15ExposePHP smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/15ExposePHP |
231 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/15ExposePHP 2013-02-13 18:00:40.000000000 -0500 |
232 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/15ExposePHP 2020-03-23 16:34:27.882950373 -0400 |
233 |
|
|
@@ -1,5 +1,5 @@ |
234 |
|
|
; Default expose_php to Off for security reasons |
235 |
|
|
expose_php = { |
236 |
|
|
- my $ep = $php{ExposePHP} || "Off"; |
237 |
|
|
+ my $ep = $phpcur->prop(ExposePHP) || $php{ExposePHP} || "Off"; |
238 |
|
|
$OUT .= "$ep"; |
239 |
|
|
} |
240 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/20ResourceLimits smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/20ResourceLimits |
241 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/20ResourceLimits 2008-10-07 13:36:44.000000000 -0400 |
242 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/20ResourceLimits 2020-03-23 16:39:47.185652464 -0400 |
243 |
|
|
@@ -1,8 +1,12 @@ |
244 |
|
|
max_execution_time = { |
245 |
|
|
- my $et = $php{MaxExecutionTime} || "30"; |
246 |
|
|
+ my $et = $phpcur->prop(MaxExecutionTime) || $php{MaxExecutionTime} || "30"; |
247 |
|
|
$OUT .= "$et"; |
248 |
|
|
} |
249 |
|
|
+max_input_time = { |
250 |
|
|
+ my $it = $phpcur->prop(MaxInputTime) || $php{MaxInputTime} || "60"; |
251 |
|
|
+ $OUT .= "$it"; |
252 |
|
|
+} |
253 |
|
|
memory_limit = { |
254 |
|
|
- my $ml = $php{MemoryLimit} || "32M"; |
255 |
|
|
+ my $ml = $phpcur->prop(MemoryLimit) || $php{MemoryLimit} || "128M"; |
256 |
|
|
$OUT .= "$ml"; |
257 |
|
|
} |
258 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/30ErrorHandling smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/30ErrorHandling |
259 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/30ErrorHandling 2008-10-07 13:36:44.000000000 -0400 |
260 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/30ErrorHandling 2020-03-22 16:25:35.860465643 -0400 |
261 |
|
|
@@ -1,8 +1,11 @@ |
262 |
|
|
-mysql.allow_persistent = On |
263 |
|
|
-error_reporting = E_ALL & ~E_NOTICE |
264 |
|
|
+error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT |
265 |
|
|
display_errors = Off |
266 |
|
|
display_startup_errors = Off |
267 |
|
|
log_errors = On |
268 |
|
|
-error_log = syslog |
269 |
|
|
+log_errors_max_len = 1024 |
270 |
|
|
+ignore_repeated_errors = Off |
271 |
|
|
+ignore_repeated_source = Off |
272 |
|
|
+report_memleaks = On |
273 |
|
|
track_errors = Off |
274 |
|
|
-warn_plus_overloading = Off |
275 |
|
|
+html_errors = On |
276 |
|
|
+error_log = syslog |
277 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/40DataHandling smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/40DataHandling |
278 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/40DataHandling 2016-02-05 17:10:39.000000000 -0500 |
279 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/40DataHandling 2020-03-23 16:40:28.628780162 -0400 |
280 |
|
|
@@ -1,15 +1,12 @@ |
281 |
|
|
-mysql.allow_persistent = On |
282 |
|
|
variables_order = "EGPCS" |
283 |
|
|
-register_globals = Off |
284 |
|
|
+request_order = "GP" |
285 |
|
|
register_argc_argv = On |
286 |
|
|
+auto_globals_jit = On |
287 |
|
|
post_max_size = { |
288 |
|
|
- my $ms = $php{PostMaxSize} || "20M"; |
289 |
|
|
+ my $ms = $phpcur->prop(PostMaxSize) || $php{PostMaxSize} || "20M"; |
290 |
|
|
$OUT .= "$ms"; |
291 |
|
|
} |
292 |
|
|
-magic_quotes_gpc = Off |
293 |
|
|
-magic_quotes_runtime = Off |
294 |
|
|
-magic_quotes_sybase = Off |
295 |
|
|
auto_prepend_file = |
296 |
|
|
auto_append_file = |
297 |
|
|
default_mimetype = "text/html" |
298 |
|
|
- |
299 |
|
|
+default_charset = "UTF-8" |
300 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/50PathsDirectories smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/50PathsDirectories |
301 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/50PathsDirectories 2020-01-28 14:27:28.000000000 -0500 |
302 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/50PathsDirectories 2020-03-23 17:25:33.095814345 -0400 |
303 |
|
|
@@ -1,8 +1,8 @@ |
304 |
|
|
-mysql.allow_persistent = On |
305 |
|
|
-include_path = ".:/usr/share/pear-addons:/usr/share/pear" |
306 |
|
|
+include_path = {($phpcur->prop(IncludePath)||$php{IncludePath}||$INCLUDE_PATH)} |
307 |
|
|
doc_root = |
308 |
|
|
user_dir = |
309 |
|
|
-extension_dir = { return "/usr/lib64/php/modules" if -d "/usr/lib64/php/modules"; |
310 |
|
|
+extension_dir = { return "$EXTENSION_DIR" if ("$EXTENSION_DIR" ne "" && -d "$EXTENSION_DIR"); |
311 |
|
|
+ return "/usr/lib64/php/modules" if -d "/usr/lib64/php/modules"; |
312 |
|
|
return "/usr/lib/php/modules" if -d "/usr/lib/php/modules"; |
313 |
|
|
return "/usr/lib/php"; } |
314 |
|
|
enable_dl = On |
315 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/60FileUploads smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/60FileUploads |
316 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/60FileUploads 2008-10-07 13:36:44.000000000 -0400 |
317 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/60FileUploads 2020-03-23 17:28:54.593184492 -0400 |
318 |
|
|
@@ -1,5 +1,10 @@ |
319 |
|
|
file_uploads = On |
320 |
|
|
upload_max_filesize = { |
321 |
|
|
- my $mf = $php{UploadMaxFilesize} || "10M"; |
322 |
|
|
+ my $mf = $phpcur->prop(UploadMaxFilesize) || $php{UploadMaxFilesize} || "10M"; |
323 |
|
|
$OUT .= "$mf"; |
324 |
|
|
} |
325 |
|
|
+upload_tmp_dir = {"var/lib/php/php$PHP_VERSION/tmp"} |
326 |
|
|
+max_file_uploads = { |
327 |
|
|
+ my $mfu = $phpcur->prop(MaxFileUpload) || $php{MaxFileUpload} || "20"; |
328 |
|
|
+ $OUT .= "$mfu"; |
329 |
|
|
+} |
330 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/65FopenWrappers smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/65FopenWrappers |
331 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/65FopenWrappers 2008-10-07 13:36:44.000000000 -0400 |
332 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/65FopenWrappers 2020-03-24 11:34:39.351105788 -0400 |
333 |
|
|
@@ -1,3 +1,3 @@ |
334 |
|
|
-{ |
335 |
|
|
- return "allow_url_fopen = $php{AllowUrlFopen}\n"; |
336 |
|
|
-} |
337 |
|
|
+allow_url_fopen = {($phpcur->prop(AllowUrlFopen) || $php{AllowUrlFopen} || 'Off')} |
338 |
|
|
+allow_url_include = Off |
339 |
|
|
+default_socket_timeout = 60 |
340 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/70TimeZone smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/70TimeZone |
341 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/70TimeZone 2013-02-13 18:00:40.000000000 -0500 |
342 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/70TimeZone 2020-03-24 11:35:09.004891956 -0400 |
343 |
|
|
@@ -1 +1,2 @@ |
344 |
|
|
-date.timezone = "{$TimeZone}" |
345 |
|
|
+date.timezone = "{$TimeZone}" |
346 |
|
|
+ |
347 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings01Cli smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings01Cli |
348 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings01Cli 1969-12-31 19:00:00.000000000 -0500 |
349 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings01Cli 2020-03-23 15:38:51.014160935 -0400 |
350 |
|
|
@@ -0,0 +1,3 @@ |
351 |
|
|
+[ Server] |
352 |
|
|
+cli_server.color = On |
353 |
|
|
+ |
354 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings02mailfunction smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings02mailfunction |
355 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings02mailfunction 2008-10-07 13:36:44.000000000 -0400 |
356 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings02mailfunction 2020-03-23 16:51:56.933483699 -0400 |
357 |
|
|
@@ -1,4 +1,12 @@ |
358 |
|
|
[mail function] |
359 |
|
|
SMTP = localhost |
360 |
|
|
-sendmail_from = me@localhost.com |
361 |
|
|
+smtp_port = {($qpsmtpd{TCPPort} || '25')} |
362 |
|
|
+sendmail_from = root@{$DomainName} |
363 |
|
|
+sendmail_path = {($phpcur->prop(SendmailPath) || $php{"SendmailPath"} || '/usr/sbin/sendmail -t -i')} |
364 |
|
|
+mail.log = { |
365 |
|
|
+ my $mailog = $phpcur->prop(MailLog) || $php{"MailLog"} || "disabled"; |
366 |
|
|
+ my $mlog = ($mailog eq "enabled")? "/var/log/php/php$PHP_VERSION/mail.log" : ""; |
367 |
|
|
+ $OUT .= "$mlog"; |
368 |
|
|
+} |
369 |
|
|
+mail.add_x_header = On |
370 |
|
|
|
371 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings03Debugger smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings03Debugger |
372 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings03Debugger 2008-10-07 13:36:44.000000000 -0400 |
373 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings03Debugger 1969-12-31 19:00:00.000000000 -0500 |
374 |
|
|
@@ -1,5 +0,0 @@ |
375 |
|
|
-[Debugger] |
376 |
|
|
-debugger.host = localhost |
377 |
|
|
-debugger.port = 7869 |
378 |
|
|
-debugger.enabled = False |
379 |
|
|
- |
380 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings04Logging smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings04Logging |
381 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings04Logging 2008-10-07 13:36:44.000000000 -0400 |
382 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings04Logging 1969-12-31 19:00:00.000000000 -0500 |
383 |
|
|
@@ -1,2 +0,0 @@ |
384 |
|
|
-[Logging] |
385 |
|
|
- |
386 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings04PCRE smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings04PCRE |
387 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings04PCRE 1969-12-31 19:00:00.000000000 -0500 |
388 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings04PCRE 2020-03-24 11:44:36.591926438 -0400 |
389 |
|
|
@@ -0,0 +1,8 @@ |
390 |
|
|
+[Pcre] |
391 |
|
|
+{ |
392 |
|
|
+return "" if $PHP_VERSION eq ""; |
393 |
|
|
+if ( $PHP_VERSION >= 70) |
394 |
|
|
+ { |
395 |
|
|
+$OUT .="pcre.jit = Off\n"; |
396 |
|
|
+ } |
397 |
|
|
+} |
398 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings05Java smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings05Java |
399 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings05Java 2008-10-07 13:36:44.000000000 -0400 |
400 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings05Java 1969-12-31 19:00:00.000000000 -0500 |
401 |
|
|
@@ -1,2 +0,0 @@ |
402 |
|
|
-[Java] |
403 |
|
|
- |
404 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings05Pdo smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings05Pdo |
405 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings05Pdo 1969-12-31 19:00:00.000000000 -0500 |
406 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings05Pdo 2020-03-22 17:29:10.382484246 -0400 |
407 |
|
|
@@ -0,0 +1,4 @@ |
408 |
|
|
+[Pdo_mysql] |
409 |
|
|
+pdo_mysql.cache_size = 2000 |
410 |
|
|
+pdo_mysql.default_socket = |
411 |
|
|
+ |
412 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings07Interbase smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings07Interbase |
413 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings07Interbase 1969-12-31 19:00:00.000000000 -0500 |
414 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings07Interbase 2020-03-24 11:38:32.311282157 -0400 |
415 |
|
|
@@ -0,0 +1,8 @@ |
416 |
|
|
+[Interbase] |
417 |
|
|
+ibase.allow_persistent = On |
418 |
|
|
+ibase.max_persistent = -1 |
419 |
|
|
+ibase.max_links = -1 |
420 |
|
|
+ibase.timestampformat = "%Y-%m-%d %H:%M:%S" |
421 |
|
|
+ibase.dateformat = "%Y-%m-%d" |
422 |
|
|
+ibase.timeformat = "%H:%M:%S" |
423 |
|
|
+ |
424 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings08MySQL smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings08MySQL |
425 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings08MySQL 2008-10-07 13:36:44.000000000 -0400 |
426 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings08MySQL 2020-03-23 17:22:08.613365595 -0400 |
427 |
|
|
@@ -1,5 +1,7 @@ |
428 |
|
|
[MySQL] |
429 |
|
|
+mysql.allow_local_infile = On |
430 |
|
|
mysql.allow_persistent = On |
431 |
|
|
+mysql.cache_size = 2000 |
432 |
|
|
mysql.max_persistent = -1 |
433 |
|
|
mysql.max_links = -1 |
434 |
|
|
mysql.default_port = |
435 |
|
|
@@ -7,4 +9,6 @@ |
436 |
|
|
mysql.default_host = |
437 |
|
|
mysql.default_user = |
438 |
|
|
mysql.default_password = |
439 |
|
|
+mysql.connect_timeout = 60 |
440 |
|
|
+mysql.trace_mode = Off |
441 |
|
|
|
442 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings08MySQLi smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings08MySQLi |
443 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings08MySQLi 1969-12-31 19:00:00.000000000 -0500 |
444 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings08MySQLi 2020-03-22 17:22:26.176705616 -0400 |
445 |
|
|
@@ -0,0 +1,11 @@ |
446 |
|
|
+[MySQLi] |
447 |
|
|
+mysqli.allow_persistent = On |
448 |
|
|
+mysqli.cache_size = 2000 |
449 |
|
|
+mysqli.max_persistent = -1 |
450 |
|
|
+mysqli.max_links = -1 |
451 |
|
|
+mysqli.default_port = |
452 |
|
|
+mysqli.default_socket = |
453 |
|
|
+mysqli.default_host = |
454 |
|
|
+mysqli.default_user = |
455 |
|
|
+mysqli.default_pw = |
456 |
|
|
+mysqli.reconnect = Off |
457 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings08MySQLnd smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings08MySQLnd |
458 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings08MySQLnd 1969-12-31 19:00:00.000000000 -0500 |
459 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings08MySQLnd 2020-03-23 15:42:42.549255098 -0400 |
460 |
|
|
@@ -0,0 +1,4 @@ |
461 |
|
|
+[mysqlnd] |
462 |
|
|
+mysqlnd.collect_statistics = On |
463 |
|
|
+mysqlnd.collect_memory_statistics = Off |
464 |
|
|
+ |
465 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings10PostgresSQL smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings10PostgresSQL |
466 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings10PostgresSQL 2008-10-07 13:36:44.000000000 -0400 |
467 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings10PostgresSQL 2020-03-24 11:39:52.942420023 -0400 |
468 |
|
|
@@ -1,5 +1,8 @@ |
469 |
|
|
[PostgresSQL] |
470 |
|
|
pgsql.allow_persistent = On |
471 |
|
|
+pgsql.auto_reset_persistent = Off |
472 |
|
|
pgsql.max_persistent = -1 |
473 |
|
|
pgsql.max_links = -1 |
474 |
|
|
+pgsql.ignore_notice = Off |
475 |
|
|
+pgsql.log_notice = Off |
476 |
|
|
|
477 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings12Sybase-CT smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings12Sybase-CT |
478 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings12Sybase-CT 2008-10-07 13:36:44.000000000 -0400 |
479 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings12Sybase-CT 2020-03-22 17:44:08.000304348 -0400 |
480 |
|
|
@@ -1,5 +1,5 @@ |
481 |
|
|
[Sybase-CT] |
482 |
|
|
-sybct.allow_persistenT = On |
483 |
|
|
+sybct.allow_persistent = On |
484 |
|
|
sybct.max_persistent = -1 |
485 |
|
|
sybct.max_links = -1 |
486 |
|
|
sybct.min_server_severity = 10 |
487 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings15Informix smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings15Informix |
488 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings15Informix 2008-10-07 13:36:44.000000000 -0400 |
489 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings15Informix 1969-12-31 19:00:00.000000000 -0500 |
490 |
|
|
@@ -1,13 +0,0 @@ |
491 |
|
|
-[Informix] |
492 |
|
|
-ifx.default_host = |
493 |
|
|
-ifx.default_useR = |
494 |
|
|
-ifx.default_password = |
495 |
|
|
-ifx.allow_persistent = On |
496 |
|
|
-ifx.max_persistent = -1 |
497 |
|
|
-ifx.max_links = -1 |
498 |
|
|
-ifx.textasvarchar = 0 |
499 |
|
|
-ifx.byteasvarchar = 0 |
500 |
|
|
-ifx.charasvarchar = 0 |
501 |
|
|
-ifx.blobinfile = 0 |
502 |
|
|
-ifx.nullformat = 0 |
503 |
|
|
- |
504 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings16Session smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings16Session |
505 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings16Session 2020-01-28 13:25:41.000000000 -0500 |
506 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings16Session 2020-03-24 11:42:35.156721175 -0400 |
507 |
|
|
@@ -1,20 +1,49 @@ |
508 |
|
|
[Session] |
509 |
|
|
session.save_handler = files |
510 |
|
|
-session.save_path = /var/lib/php/session |
511 |
|
|
-session.use_cookies = 1 |
512 |
|
|
+session.save_path = {"/var/lib/php/php$PHP_VERSION/session"} |
513 |
|
|
+session.use_cookies = On |
514 |
|
|
+session.use_only_cookies = On |
515 |
|
|
session.name = PHPSESSID |
516 |
|
|
-session.auto_start = 0 |
517 |
|
|
+session.auto_start = Off |
518 |
|
|
session.cookie_lifetime = 0 |
519 |
|
|
session.cookie_path = / |
520 |
|
|
session.cookie_domain = |
521 |
|
|
+session.cookie_httponly = |
522 |
|
|
session.serialize_handler = php |
523 |
|
|
session.gc_probability = 1 |
524 |
|
|
+session.gc_divisor = 1000 |
525 |
|
|
session.gc_maxlifetime = 1440 |
526 |
|
|
+session.bug_compat_42 = Off |
527 |
|
|
+session.bug_compat_warn = Off |
528 |
|
|
session.referer_check = |
529 |
|
|
session.entropy_length = 0 |
530 |
|
|
session.entropy_file = |
531 |
|
|
session.cache_limiter = nocache |
532 |
|
|
session.cache_expire = 180 |
533 |
|
|
-session.use_trans_sid = 1 |
534 |
|
|
+session.use_trans_sid = On |
535 |
|
|
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry" |
536 |
|
|
- |
537 |
|
|
+{ |
538 |
|
|
+return "" if $PHP_VERSION eq ""; |
539 |
|
|
+if ( $PHP_VERSION >= 55) |
540 |
|
|
+ { |
541 |
|
|
+ $OUT .= "session.use_strict_mode = Off\n"; |
542 |
|
|
+ $OUT .= "sys_temp_dir = /var/lib/php/php$PHP_VERSION/tmp\n"; |
543 |
|
|
+ } |
544 |
|
|
+if ( $PHP_VERSION < 71) |
545 |
|
|
+ { |
546 |
|
|
+ $OUT .= "session.hash_bits_per_character = 5 |
547 |
|
|
+session.hash_function = 0 |
548 |
|
|
+session.entropy_file = |
549 |
|
|
+session.entropy_length = 0\n"; |
550 |
|
|
+ } |
551 |
|
|
+if ( $PHP_VERSION >= 71) |
552 |
|
|
+ { |
553 |
|
|
+ $OUT .= "session.sid_bits_per_character = 4 |
554 |
|
|
+session.sid_length = 32 |
555 |
|
|
+session.trans_sid_tags = \"a=href,area=href,frame=src,form=\"\n"; |
556 |
|
|
+ } |
557 |
|
|
+if ( $PHP_VERSION >= 73) |
558 |
|
|
+ { |
559 |
|
|
+ $OUT .= "session.cookie_samesite = \"Strict\"\n"; |
560 |
|
|
+ } |
561 |
|
|
+} |
562 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings17MSSQL smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings17MSSQL |
563 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings17MSSQL 2008-10-07 13:36:44.000000000 -0400 |
564 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings17MSSQL 2020-03-22 18:15:35.397604541 -0400 |
565 |
|
|
@@ -5,4 +5,5 @@ |
566 |
|
|
mssql.min_error_severity = 10 |
567 |
|
|
mssql.min_message_severity = 10 |
568 |
|
|
mssql.compatability_mode = Off |
569 |
|
|
+mssql.secure_connection = Off |
570 |
|
|
|
571 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings20VerisignPayflowPro smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings20VerisignPayflowPro |
572 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings20VerisignPayflowPro 2008-10-07 13:36:44.000000000 -0400 |
573 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings20VerisignPayflowPro 1969-12-31 19:00:00.000000000 -0500 |
574 |
|
|
@@ -1,5 +0,0 @@ |
575 |
|
|
-[Verisign Payflow Pro] |
576 |
|
|
-pfpro.defaulthost = "test.signio.com" |
577 |
|
|
-pfpro.defaultport = 443 |
578 |
|
|
-pfpro.defaulttimeout = 30 |
579 |
|
|
- |
580 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings22Tidy smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings22Tidy |
581 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings22Tidy 1969-12-31 19:00:00.000000000 -0500 |
582 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings22Tidy 2020-03-23 17:21:55.758023077 -0400 |
583 |
|
|
@@ -0,0 +1,3 @@ |
584 |
|
|
+[Tidy] |
585 |
|
|
+tidy.clean_output = Off |
586 |
|
|
+ |
587 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings23Soap smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings23Soap |
588 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings23Soap 1969-12-31 19:00:00.000000000 -0500 |
589 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings23Soap 2020-03-24 11:43:15.568792752 -0400 |
590 |
|
|
@@ -0,0 +1,6 @@ |
591 |
|
|
+[soap] |
592 |
|
|
+soap.wsdl_cache_enabled = On |
593 |
|
|
+soap.wsdl_cache_dir = {"/var/lib/php/php$PHP_VERSION/wsdlcache"} |
594 |
|
|
+soap.wsdl_cache_ttl = 86400 |
595 |
|
|
+soap.wsdl_cache_limit = 5 |
596 |
|
|
+ |
597 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings24Ldap smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings24Ldap |
598 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings24Ldap 1969-12-31 19:00:00.000000000 -0500 |
599 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings24Ldap 2020-03-22 18:26:33.304177354 -0400 |
600 |
|
|
@@ -0,0 +1,3 @@ |
601 |
|
|
+[ldap] |
602 |
|
|
+ldap.max_links = -1 |
603 |
|
|
+ |
604 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/template-begin smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/template-begin |
605 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/template-begin 2002-03-15 12:55:51.000000000 -0500 |
606 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/template-begin 1969-12-31 19:00:00.000000000 -0500 |
607 |
|
|
@@ -1,9 +0,0 @@ |
608 |
|
|
-;------------------------------------------------------------ |
609 |
|
|
-; DO NOT MODIFY THIS FILE! It is updated automatically by the |
610 |
|
|
-; SME Server software. Instead, modify the source template in |
611 |
|
|
-; an /etc/e-smith/templates-custom directory. For more |
612 |
|
|
-; information, see http://www.e-smith.org/custom/ |
613 |
|
|
-; |
614 |
|
|
-; copyright (C) 2002 Mitel Networks Corporation |
615 |
|
|
-;------------------------------------------------------------ |
616 |
|
|
- |
617 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/etc/opt/remi/php70/php.ini smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/etc/opt/remi/php70/php.ini |
618 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/etc/opt/remi/php70/php.ini 1969-12-31 19:00:00.000000000 -0500 |
619 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/etc/opt/remi/php70/php.ini 2020-03-23 17:44:10.448603730 -0400 |
620 |
|
|
@@ -0,0 +1,2 @@ |
621 |
|
|
+TEMPLATE_PATH="/etc/php.ini" |
622 |
|
|
+MORE_DATA={ PHP_VERSION => 70, INCLUDE_PATH => ".:/opt/remi/php70/root/usr/share/pear:/opt/remi/php70/root/usr/share/php:/usr/share/php:/usr/share/pear", EXTENSION_DIR => "/opt/remi/php70/root/usr/lib64/php/modules" } |
623 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/etc/opt/remi/php71/php.ini smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/etc/opt/remi/php71/php.ini |
624 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/etc/opt/remi/php71/php.ini 1969-12-31 19:00:00.000000000 -0500 |
625 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/etc/opt/remi/php71/php.ini 2020-03-23 17:44:21.798906458 -0400 |
626 |
|
|
@@ -0,0 +1,2 @@ |
627 |
|
|
+TEMPLATE_PATH="/etc/php.ini" |
628 |
|
|
+MORE_DATA={ PHP_VERSION => 71, INCLUDE_PATH => ".:/opt/remi/php70/root/usr/share/pear:/opt/remi/php71/root/usr/share/php:/usr/share/php:/usr/share/pear", EXTENSION_DIR => "/opt/remi/php71/root/usr/lib64/php/modules" } |
629 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/etc/opt/remi/php72/php.ini smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/etc/opt/remi/php72/php.ini |
630 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/etc/opt/remi/php72/php.ini 1969-12-31 19:00:00.000000000 -0500 |
631 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/etc/opt/remi/php72/php.ini 2020-03-23 17:44:34.605248024 -0400 |
632 |
|
|
@@ -0,0 +1,3 @@ |
633 |
|
|
+TEMPLATE_PATH="/etc/php.ini" |
634 |
|
|
+MORE_DATA={ PHP_VERSION => 72, INCLUDE_PATH => ".:/opt/remi/php72/root/usr/share/pear:/opt/remi/php72/root/usr/share/php:/usr/share/php:/usr/share/pear", EXTENSION_DIR => "/opt/remi/php72/root/usr/lib64/php/modules" } |
635 |
|
|
+ |
636 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/etc/opt/remi/php73/php.ini smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/etc/opt/remi/php73/php.ini |
637 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/etc/opt/remi/php73/php.ini 1969-12-31 19:00:00.000000000 -0500 |
638 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/etc/opt/remi/php73/php.ini 2020-03-23 17:44:55.811813647 -0400 |
639 |
|
|
@@ -0,0 +1,2 @@ |
640 |
|
|
+TEMPLATE_PATH="/etc/php.ini" |
641 |
|
|
+MORE_DATA={ PHP_VERSION => 73, INCLUDE_PATH => ".:/opt/remi/php73/root/usr/share/pear:/opt/remi/php73/root/usr/share/php:/usr/share/php:/usr/share/pear", EXTENSION_DIR => "/opt/remi/php73/root/usr/lib64/php/modules" } |
642 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/etc/opt/remi/php74/php.ini smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/etc/opt/remi/php74/php.ini |
643 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/etc/opt/remi/php74/php.ini 1969-12-31 19:00:00.000000000 -0500 |
644 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/etc/opt/remi/php74/php.ini 2020-03-23 17:45:21.624502133 -0400 |
645 |
|
|
@@ -0,0 +1,2 @@ |
646 |
|
|
+TEMPLATE_PATH="/etc/php.ini" |
647 |
|
|
+MORE_DATA={ PHP_VERSION => 74, INCLUDE_PATH => ".:/opt/remi/php74/root/usr/share/pear:/opt/remi/php74/root/usr/share/php:/usr/share/php:/usr/share/pear", EXTENSION_DIR => "/opt/remi/php74/root/usr/lib64/php/modules" } |
648 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/etc/php.ini smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/etc/php.ini |
649 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/etc/php.ini 1969-12-31 19:00:00.000000000 -0500 |
650 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/etc/php.ini 2020-03-23 17:05:39.708789690 -0400 |
651 |
|
|
@@ -0,0 +1,2 @@ |
652 |
|
|
+TEMPLATE_PATH="/etc/php.ini" |
653 |
|
|
+MORE_DATA={ PHP_VERSION => '', INCLUDE_PATH => ".:/usr/share/php:/usr/share/pear", EXTENSION_DIR => "" } |
654 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/opt/remi/php55/root/etc/php.ini smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/opt/remi/php55/root/etc/php.ini |
655 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/opt/remi/php55/root/etc/php.ini 1969-12-31 19:00:00.000000000 -0500 |
656 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/opt/remi/php55/root/etc/php.ini 2020-03-23 17:36:03.739624670 -0400 |
657 |
|
|
@@ -0,0 +1,2 @@ |
658 |
|
|
+TEMPLATE_PATH="/etc/php.ini" |
659 |
|
|
+MORE_DATA={ PHP_VERSION => 55, INCLUDE_PATH => ".:/opt/remi/php55/root/usr/share/pear:/opt/remi/php55/root/usr/share/php:/usr/share/php:/usr/share/pear", EXTENSION_DIR => "/opt/remi/php55/root/usr/lib64/php/modules" } |
660 |
|
|
diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/opt/remi/php56/root/etc/php.ini smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/opt/remi/php56/root/etc/php.ini |
661 |
|
|
--- smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/opt/remi/php56/root/etc/php.ini 1969-12-31 19:00:00.000000000 -0500 |
662 |
|
|
+++ smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/opt/remi/php56/root/etc/php.ini 2020-03-23 17:41:18.738024226 -0400 |
663 |
|
|
@@ -0,0 +1,2 @@ |
664 |
|
|
+TEMPLATE_PATH="/etc/php.ini" |
665 |
|
|
+MORE_DATA={ PHP_VERSION => 56, INCLUDE_PATH => ".:/opt/remi/php56/root/usr/share/pear:/opt/remi/php56/root/usr/share/php:/usr/share/php:/usr/share/pear", EXTENSION_DIR => "/opt/remi/php56/root/usr/lib64/php/modules" } |