/[smecontribs]/rpms/smeserver-php-scl/contribs9/smeserver-php-scl-0.4.bz10093-addphp7support.patch
ViewVC logotype

Annotation of /rpms/smeserver-php-scl/contribs9/smeserver-php-scl-0.4.bz10093-addphp7support.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Fri Apr 28 17:12:20 2017 UTC (7 years, 7 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-php-scl-0_4-10_el6_sme, smeserver-php-scl-0_4-9_el6_sme
* Fri Apr 28 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.4-9.sme
- added php70 and php71 support [SME: 10093]

1 unnilennium 1.1 diff -Nur smeserver-php-scl-0.4.old/createlinks smeserver-php-scl-0.4/createlinks
2     --- smeserver-php-scl-0.4.old/createlinks 2015-02-22 11:17:15.000000000 -0500
3     +++ smeserver-php-scl-0.4/createlinks 2017-04-28 12:52:45.882000000 -0400
4     @@ -13,6 +13,8 @@
5     templates2events("/opt/remi/php54/root/etc/php.ini", $event);
6     templates2events("/opt/remi/php55/root/etc/php.ini", $event);
7     templates2events("/opt/remi/php56/root/etc/php.ini", $event);
8     + templates2events("/opt/remi/php70/root/etc/php.ini", $event);
9     + templates2events("/opt/remi/php71/root/etc/php.ini", $event);
10     }
11    
12     for my $event (qw(php-update))
13     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php70/AllowUrlFopen smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php70/AllowUrlFopen
14     --- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php70/AllowUrlFopen 1969-12-31 19:00:00.000000000 -0500
15     +++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php70/AllowUrlFopen 2017-04-28 12:53:09.768000000 -0400
16     @@ -0,0 +1 @@
17     +Off
18     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php70/MaxExecutionTime smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php70/MaxExecutionTime
19     --- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php70/MaxExecutionTime 1969-12-31 19:00:00.000000000 -0500
20     +++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php70/MaxExecutionTime 2017-04-28 12:53:09.767000000 -0400
21     @@ -0,0 +1 @@
22     +30
23     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php70/MaxFileUpload smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php70/MaxFileUpload
24     --- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php70/MaxFileUpload 1969-12-31 19:00:00.000000000 -0500
25     +++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php70/MaxFileUpload 2017-04-28 12:53:09.768000000 -0400
26     @@ -0,0 +1 @@
27     +20
28     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php70/MaxInputTime smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php70/MaxInputTime
29     --- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php70/MaxInputTime 1969-12-31 19:00:00.000000000 -0500
30     +++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php70/MaxInputTime 2017-04-28 12:53:09.767000000 -0400
31     @@ -0,0 +1 @@
32     +60
33     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php70/MemoryLimit smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php70/MemoryLimit
34     --- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php70/MemoryLimit 1969-12-31 19:00:00.000000000 -0500
35     +++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php70/MemoryLimit 2017-04-28 12:53:09.768000000 -0400
36     @@ -0,0 +1 @@
37     +128M
38     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php70/PhpModule smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php70/PhpModule
39     --- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php70/PhpModule 1969-12-31 19:00:00.000000000 -0500
40     +++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php70/PhpModule 2017-04-28 12:53:09.768000000 -0400
41     @@ -0,0 +1 @@
42     +disabled
43     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php70/PostMaxSize smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php70/PostMaxSize
44     --- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php70/PostMaxSize 1969-12-31 19:00:00.000000000 -0500
45     +++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php70/PostMaxSize 2017-04-28 12:53:09.768000000 -0400
46     @@ -0,0 +1 @@
47     +20M
48     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php70/type smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php70/type
49     --- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php70/type 1969-12-31 19:00:00.000000000 -0500
50     +++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php70/type 2017-04-28 12:53:09.768000000 -0400
51     @@ -0,0 +1 @@
52     +configuration
53     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php70/UploadMaxFilesize smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php70/UploadMaxFilesize
54     --- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php70/UploadMaxFilesize 1969-12-31 19:00:00.000000000 -0500
55     +++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php70/UploadMaxFilesize 2017-04-28 12:53:09.768000000 -0400
56     @@ -0,0 +1 @@
57     +10M
58     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php71/AllowUrlFopen smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php71/AllowUrlFopen
59     --- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php71/AllowUrlFopen 1969-12-31 19:00:00.000000000 -0500
60     +++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php71/AllowUrlFopen 2017-04-28 12:53:11.391000000 -0400
61     @@ -0,0 +1 @@
62     +Off
63     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php71/MaxExecutionTime smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php71/MaxExecutionTime
64     --- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php71/MaxExecutionTime 1969-12-31 19:00:00.000000000 -0500
65     +++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php71/MaxExecutionTime 2017-04-28 12:53:11.391000000 -0400
66     @@ -0,0 +1 @@
67     +30
68     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php71/MaxFileUpload smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php71/MaxFileUpload
69     --- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php71/MaxFileUpload 1969-12-31 19:00:00.000000000 -0500
70     +++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php71/MaxFileUpload 2017-04-28 12:53:11.391000000 -0400
71     @@ -0,0 +1 @@
72     +20
73     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php71/MaxInputTime smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php71/MaxInputTime
74     --- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php71/MaxInputTime 1969-12-31 19:00:00.000000000 -0500
75     +++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php71/MaxInputTime 2017-04-28 12:53:11.391000000 -0400
76     @@ -0,0 +1 @@
77     +60
78     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php71/MemoryLimit smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php71/MemoryLimit
79     --- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php71/MemoryLimit 1969-12-31 19:00:00.000000000 -0500
80     +++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php71/MemoryLimit 2017-04-28 12:53:11.391000000 -0400
81     @@ -0,0 +1 @@
82     +128M
83     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php71/PhpModule smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php71/PhpModule
84     --- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php71/PhpModule 1969-12-31 19:00:00.000000000 -0500
85     +++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php71/PhpModule 2017-04-28 12:53:11.391000000 -0400
86     @@ -0,0 +1 @@
87     +disabled
88     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php71/PostMaxSize smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php71/PostMaxSize
89     --- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php71/PostMaxSize 1969-12-31 19:00:00.000000000 -0500
90     +++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php71/PostMaxSize 2017-04-28 12:53:11.391000000 -0400
91     @@ -0,0 +1 @@
92     +20M
93     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php71/type smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php71/type
94     --- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php71/type 1969-12-31 19:00:00.000000000 -0500
95     +++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php71/type 2017-04-28 12:53:11.391000000 -0400
96     @@ -0,0 +1 @@
97     +configuration
98     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php71/UploadMaxFilesize smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php71/UploadMaxFilesize
99     --- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php71/UploadMaxFilesize 1969-12-31 19:00:00.000000000 -0500
100     +++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php71/UploadMaxFilesize 2017-04-28 12:53:11.391000000 -0400
101     @@ -0,0 +1 @@
102     +10M
103     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90php_rhscl smeserver-php-scl-0.4/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90php_rhscl
104     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90php_rhscl 2015-02-22 11:17:15.000000000 -0500
105     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90php_rhscl 2017-04-28 12:54:53.860000000 -0400
106     @@ -60,6 +60,41 @@
107    
108     }
109    
110     + elsif ($php_version eq 'php70')
111     + {
112     +
113     + # write the configuration
114     +
115     + $OUT .= "\n";
116     + $OUT .= "\n";
117     + $OUT .= "<Directory /home/e-smith/files/ibays/$key/html>\n";
118     + $OUT .= " # use PHP70 SCL from Remi repository instead of the default PHP\n";
119     + $OUT .= " AddHandler phpscl-cgi .php\n";
120     + $OUT .= " Action phpscl-cgi /phpscl-cgi/php70_REMI\n";
121     + $OUT .= "</Directory>\n";
122     + $OUT .= "\n";
123     + $OUT .= "\n";
124     +
125     + }
126     +
127     + elsif ($php_version eq 'php71')
128     + {
129     +
130     + # write the configuration
131     +
132     + $OUT .= "\n";
133     + $OUT .= "\n";
134     + $OUT .= "<Directory /home/e-smith/files/ibays/$key/html>\n";
135     + $OUT .= " # use PHP71 SCL from Remi repository instead of the default PHP\n";
136     + $OUT .= " AddHandler phpscl-cgi .php\n";
137     + $OUT .= " Action phpscl-cgi /phpscl-cgi/php71_REMI\n";
138     + $OUT .= "</Directory>\n";
139     + $OUT .= "\n";
140     + $OUT .= "\n";
141     +
142     + }
143     +
144     +
145     }
146    
147     }
148     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/00PHP smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/00PHP
149     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/00PHP 1969-12-31 19:00:00.000000000 -0500
150     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/00PHP 2017-04-28 12:55:22.906000000 -0400
151     @@ -0,0 +1 @@
152     +[PHP]
153     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/10LanguageOptions smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/10LanguageOptions
154     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/10LanguageOptions 1969-12-31 19:00:00.000000000 -0500
155     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/10LanguageOptions 2017-04-28 12:55:22.906000000 -0400
156     @@ -0,0 +1,32 @@
157     +{#;;;;;;;;;;;;;;;;;;
158     +# Language Options ;
159     +#;;;;;;;;;;;;;;;;;;;}
160     +engine = On
161     +short_open_tag = On;
162     +asp_tags = Off
163     +precision = 14
164     +y2k_compliance = Off
165     +output_buffering = Off
166     +output_handler =
167     +implicit_flush = Off
168     +;allow_call_time_pass_reference = On ###disabled because fatal error with php54
169     +safe_mode = Off
170     +safe_mode_exec_dir =
171     +safe_mode_allowed_env_vars = PHP_
172     +safe_mode_protected_env_vars = LD_LIBRARY_PATH
173     +disable_functions =
174     +highlight.string = #DD0000
175     +highlight.comment = #FF8000
176     +highlight.keyword = #007700
177     +highlight.bg = #FFFFFF
178     +highlight.default = #0000BB
179     +highlight.html = #000000
180     +
181     +;added stephdl settings
182     +output_buffering = 4096
183     +zlib.output_compression = Off
184     +unserialize_callback_func =
185     +serialize_precision = 17
186     +disable_classes =
187     +zend.enable_gc = On
188     +default_charset = "UTF-8"
189     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/15ExposePHP smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/15ExposePHP
190     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/15ExposePHP 1969-12-31 19:00:00.000000000 -0500
191     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/15ExposePHP 2017-04-28 12:56:42.544000000 -0400
192     @@ -0,0 +1,5 @@
193     +; Default expose_php to Off for security reasons
194     +expose_php = {
195     + my $ep = $php70{ExposePHP} || "Off";
196     + $OUT .= "$ep";
197     +}
198     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/20ResourceLimits smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/20ResourceLimits
199     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/20ResourceLimits 1969-12-31 19:00:00.000000000 -0500
200     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/20ResourceLimits 2017-04-28 12:57:03.942000000 -0400
201     @@ -0,0 +1,14 @@
202     +max_execution_time = {
203     + my $et = $php70{MaxExecutionTime} || "30";
204     + $OUT .= "$et";
205     +}
206     +memory_limit = {
207     + my $ml = $php70{MemoryLimit} || "128M";
208     + $OUT .= "$ml";
209     +}
210     +;added by stephdl see $php70{MaxInputTime}
211     +max_input_time = {
212     + my $it = $php70{MaxInputTime} || "60";
213     + $OUT .= "$it";
214     +}
215     +
216     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/30ErrorHandling smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/30ErrorHandling
217     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/30ErrorHandling 1969-12-31 19:00:00.000000000 -0500
218     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/30ErrorHandling 2017-04-28 12:55:22.906000000 -0400
219     @@ -0,0 +1,16 @@
220     +mysql.allow_persistent = On
221     +error_reporting = E_ALL & ~E_NOTICE
222     +display_errors = Off
223     +display_startup_errors = Off
224     +log_errors = On
225     +error_log = syslog
226     +track_errors = Off
227     +warn_plus_overloading = Off
228     +
229     +; added by stephdl
230     +log_errors_max_len = 1024
231     +ignore_repeated_errors = Off
232     +ignore_repeated_source = Off
233     +report_memleaks = On
234     +html_errors = On
235     +
236     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/40DataHandling smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/40DataHandling
237     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/40DataHandling 1969-12-31 19:00:00.000000000 -0500
238     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/40DataHandling 2017-04-28 12:56:12.603000000 -0400
239     @@ -0,0 +1,20 @@
240     +mysql.allow_persistent = On
241     +variables_order = "EGPCS"
242     +register_globals = Off
243     +register_argc_argv = On
244     +post_max_size = {
245     + my $ms = $php70{PostMaxSize} || "20M";
246     + $OUT .= "$ms";
247     +}
248     +;gpc_order = "GPC" #deprecated
249     +;magic_quotes_gpc = Off #deprecated
250     +;magic_quotes_runtime = Off #deprecated
251     +;magic_quotes_sybase = Off #deprecated
252     +auto_prepend_file =
253     +auto_append_file =
254     +default_mimetype = "text/html"
255     +
256     +; added by stephdl
257     +variables_order = "EGPCS"
258     +request_order = "GP"
259     +auto_globals_jit = On
260     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/50PathsDirectories smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/50PathsDirectories
261     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/50PathsDirectories 1969-12-31 19:00:00.000000000 -0500
262     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/50PathsDirectories 2017-04-28 12:57:59.407000000 -0400
263     @@ -0,0 +1,7 @@
264     +mysql.allow_persistent = On
265     +include_path = ".:/opt/remi/php70/root/usr/share/pear:/opt/remi/php70/root/usr/share/php:/usr/share/pear"
266     +doc_root =
267     +user_dir =
268     +extension_dir = /opt/remi/php70/root/usr/lib64/php/modules
269     +enable_dl = On
270     +
271     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/60FileUploads smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/60FileUploads
272     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/60FileUploads 1969-12-31 19:00:00.000000000 -0500
273     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/60FileUploads 2017-04-28 12:56:32.154000000 -0400
274     @@ -0,0 +1,10 @@
275     +file_uploads = On
276     +upload_max_filesize = {
277     + my $mf = $php70{UploadMaxFilesize} || "10M";
278     + $OUT .= "$mf";
279     +}
280     +; added by stephdl see $php70{MaxFileUpload}
281     +max_file_upload = {
282     + my $mfu = $php70{MaxFileUpload} || "20";
283     + $OUT .= "$mfu";
284     +}
285     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/65FopenWrappers smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/65FopenWrappers
286     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/65FopenWrappers 1969-12-31 19:00:00.000000000 -0500
287     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/65FopenWrappers 2017-04-28 12:57:14.583000000 -0400
288     @@ -0,0 +1,5 @@
289     +allow_url_fopen = {($php70{AllowUrlFopen} || 'Off')}
290     +;added by stephdl
291     +allow_url_include = Off
292     +default_socket_timeout = 60
293     +
294     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/70TimeZone smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/70TimeZone
295     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/70TimeZone 1969-12-31 19:00:00.000000000 -0500
296     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/70TimeZone 2017-04-28 12:55:22.905000000 -0400
297     @@ -0,0 +1 @@
298     +date.timezone = "{$TimeZone}"
299     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings01Syslog smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings01Syslog
300     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings01Syslog 1969-12-31 19:00:00.000000000 -0500
301     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings01Syslog 2017-04-28 12:55:22.906000000 -0400
302     @@ -0,0 +1,3 @@
303     +[Syslog]
304     +define_syslog_variables = Off
305     +
306     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings02mailfunction smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings02mailfunction
307     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings02mailfunction 1969-12-31 19:00:00.000000000 -0500
308     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings02mailfunction 2017-04-28 12:55:22.906000000 -0400
309     @@ -0,0 +1,4 @@
310     +[mail function]
311     +SMTP = localhost
312     +sendmail_from = me@localhost.com
313     +
314     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings03Debugger smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings03Debugger
315     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings03Debugger 1969-12-31 19:00:00.000000000 -0500
316     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings03Debugger 2017-04-28 12:55:22.906000000 -0400
317     @@ -0,0 +1,5 @@
318     +[Debugger]
319     +debugger.host = localhost
320     +debugger.port = 7869
321     +debugger.enabled = False
322     +
323     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings04Logging smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings04Logging
324     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings04Logging 1969-12-31 19:00:00.000000000 -0500
325     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings04Logging 2017-04-28 12:55:22.906000000 -0400
326     @@ -0,0 +1,2 @@
327     +[Logging]
328     +
329     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings05Java smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings05Java
330     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings05Java 1969-12-31 19:00:00.000000000 -0500
331     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings05Java 2017-04-28 12:55:22.906000000 -0400
332     @@ -0,0 +1,2 @@
333     +[Java]
334     +
335     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings06SQL smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings06SQL
336     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings06SQL 1969-12-31 19:00:00.000000000 -0500
337     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings06SQL 2017-04-28 12:55:22.907000000 -0400
338     @@ -0,0 +1,3 @@
339     +[SQL]
340     +sql.safe_mode = Off
341     +
342     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings07ODBC smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings07ODBC
343     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings07ODBC 1969-12-31 19:00:00.000000000 -0500
344     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings07ODBC 2017-04-28 12:55:22.906000000 -0400
345     @@ -0,0 +1,8 @@
346     +[ODBC]
347     +odbc.allow_persistent = On
348     +odbc.check_persistent = On
349     +odbc.max_persistent = -1
350     +odbc.max_links = -1
351     +odbc.defaultlrl = 4096
352     +odbc.defaultbinmode = 1
353     +
354     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings08MySQL smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings08MySQL
355     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings08MySQL 1969-12-31 19:00:00.000000000 -0500
356     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings08MySQL 2017-04-28 12:55:22.906000000 -0400
357     @@ -0,0 +1,25 @@
358     +;added by stephdl
359     +[Pdo_mysql]
360     +pdo_mysql.cache_size = 2000
361     +pdo_mysql.default_socket=
362     +
363     +[MySQL]
364     +mysql.allow_persistent = On
365     +mysql.cache_size = 2000
366     +mysql.max_persistent = -1
367     +mysql.max_links = -1
368     +mysql.default_port =
369     +mysql.default_socket =
370     +mysql.default_host =
371     +mysql.default_user =
372     +mysql.default_password =
373     +;added by stephdl
374     +mysql.connect_timeout = 60
375     +mysql.trace_mode = Off
376     +
377     +;added by stephdl
378     +[mysqlnd]
379     +mysqlnd.collect_statistics = On
380     +mysqlnd.collect_memory_statistics = Off
381     +
382     +
383     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings09mSQL smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings09mSQL
384     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings09mSQL 1969-12-31 19:00:00.000000000 -0500
385     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings09mSQL 2017-04-28 12:55:22.906000000 -0400
386     @@ -0,0 +1,5 @@
387     +[mSQL]
388     +msql.allow_persistent = On
389     +msql.max_persistent = -1
390     +msql.max_links = -1
391     +
392     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings10PostgresSQL smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings10PostgresSQL
393     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings10PostgresSQL 1969-12-31 19:00:00.000000000 -0500
394     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings10PostgresSQL 2017-04-28 12:55:22.905000000 -0400
395     @@ -0,0 +1,5 @@
396     +[PostgresSQL]
397     +pgsql.allow_persistent = On
398     +pgsql.max_persistent = -1
399     +pgsql.max_links = -1
400     +
401     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings11Sybase smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings11Sybase
402     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings11Sybase 1969-12-31 19:00:00.000000000 -0500
403     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings11Sybase 2017-04-28 12:55:22.906000000 -0400
404     @@ -0,0 +1,8 @@
405     +[Sybase]
406     +sybase.allow_persistent = On
407     +sybase.max_persistent = -1
408     +sybase.max_links = -1
409     +sybase.min_error_severity = 10
410     +sybase.min_message_severity = 10
411     +sybase.compatability_mode = Off
412     +
413     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings12Sybase-CT smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings12Sybase-CT
414     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings12Sybase-CT 1969-12-31 19:00:00.000000000 -0500
415     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings12Sybase-CT 2017-04-28 12:55:22.906000000 -0400
416     @@ -0,0 +1,7 @@
417     +[Sybase-CT]
418     +sybct.allow_persistenT = On
419     +sybct.max_persistent = -1
420     +sybct.max_links = -1
421     +sybct.min_server_severity = 10
422     +sybct.min_client_severity = 10
423     +
424     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings13bcmath smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings13bcmath
425     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings13bcmath 1969-12-31 19:00:00.000000000 -0500
426     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings13bcmath 2017-04-28 12:55:22.906000000 -0400
427     @@ -0,0 +1,3 @@
428     +[bcmath]
429     +bcmath.scale = 0
430     +
431     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings14browscap smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings14browscap
432     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings14browscap 1969-12-31 19:00:00.000000000 -0500
433     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings14browscap 2017-04-28 12:55:22.905000000 -0400
434     @@ -0,0 +1,2 @@
435     +[browscap]
436     +
437     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings15Informix smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings15Informix
438     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings15Informix 1969-12-31 19:00:00.000000000 -0500
439     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings15Informix 2017-04-28 12:55:22.906000000 -0400
440     @@ -0,0 +1,13 @@
441     +[Informix]
442     +ifx.default_host =
443     +ifx.default_useR =
444     +ifx.default_password =
445     +ifx.allow_persistent = On
446     +ifx.max_persistent = -1
447     +ifx.max_links = -1
448     +ifx.textasvarchar = 0
449     +ifx.byteasvarchar = 0
450     +ifx.charasvarchar = 0
451     +ifx.blobinfile = 0
452     +ifx.nullformat = 0
453     +
454     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings16Session smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings16Session
455     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings16Session 1969-12-31 19:00:00.000000000 -0500
456     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings16Session 2017-04-28 12:57:39.602000000 -0400
457     @@ -0,0 +1,28 @@
458     +[Session]
459     +session.save_handler = files
460     +session.save_path = /opt/remi/php70/root/var/lib/php/session
461     +session.use_cookies = 1
462     +session.name = PHPSESSID
463     +session.auto_start = 0
464     +session.cookie_lifetime = 0
465     +session.cookie_path = /
466     +session.cookie_domain =
467     +session.serialize_handler = php
468     +session.gc_probability = 1
469     +session.gc_maxlifetime = 1440
470     +session.referer_check =
471     +session.entropy_length = 0
472     +session.entropy_file =
473     +session.cache_limiter = nocache
474     +session.cache_expire = 180
475     +session.use_trans_sid = 1
476     +url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
477     +
478     +;added by stephdl
479     +session.use_strict_mode = 0
480     +session.use_only_cookies = 1
481     +session.bug_compat_42 = Off
482     +session.bug_compat_warn = Off
483     +session.hash_function = 0
484     +session.hash_bits_per_character = 5
485     +
486     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings17MSSQL smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings17MSSQL
487     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings17MSSQL 1969-12-31 19:00:00.000000000 -0500
488     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings17MSSQL 2017-04-28 12:55:22.907000000 -0400
489     @@ -0,0 +1,10 @@
490     +[MSSQL]
491     +mssql.allow_persistent = On
492     +mssql.max_persistent = -1
493     +mssql.max_links = -1
494     +mssql.min_error_severity = 10
495     +mssql.min_message_severity = 10
496     +mssql.compatability_mode = Off
497     +
498     +;added by stephdl
499     +mssql.secure_connection = Off
500     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings18Assertion smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings18Assertion
501     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings18Assertion 1969-12-31 19:00:00.000000000 -0500
502     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings18Assertion 2017-04-28 12:55:22.906000000 -0400
503     @@ -0,0 +1,2 @@
504     +[Assertion]
505     +
506     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings19IngresII smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings19IngresII
507     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings19IngresII 1969-12-31 19:00:00.000000000 -0500
508     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings19IngresII 2017-04-28 12:55:22.906000000 -0400
509     @@ -0,0 +1,8 @@
510     +[Ingres II]
511     +ingres.allow_persistent = On
512     +ingres.max_persistent = -1
513     +ingres.max_links = -1
514     +ingres.default_database =
515     +ingres.default_user =
516     +ingres.default_password =
517     +
518     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings20VerisignPayflowPro smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings20VerisignPayflowPro
519     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings20VerisignPayflowPro 1969-12-31 19:00:00.000000000 -0500
520     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings20VerisignPayflowPro 2017-04-28 12:55:22.906000000 -0400
521     @@ -0,0 +1,5 @@
522     +[Verisign Payflow Pro]
523     +pfpro.defaulthost = "test.signio.com"
524     +pfpro.defaultport = 443
525     +pfpro.defaulttimeout = 30
526     +
527     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings21Sockets smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings21Sockets
528     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings21Sockets 1969-12-31 19:00:00.000000000 -0500
529     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings21Sockets 2017-04-28 12:55:22.905000000 -0400
530     @@ -0,0 +1,3 @@
531     +[Sockets]
532     +sockets.use_system_read = On
533     +
534     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings22Interbase smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings22Interbase
535     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings22Interbase 1969-12-31 19:00:00.000000000 -0500
536     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings22Interbase 2017-04-28 12:55:22.906000000 -0400
537     @@ -0,0 +1,9 @@
538     +;added by stephdl
539     +[Interbase]
540     +ibase.allow_persistent = 1
541     +ibase.max_persistent = -1
542     +ibase.max_links = -1
543     +ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
544     +ibase.dateformat = "%Y-%m-%d"
545     +ibase.timeformat = "%H:%M:%S"
546     +
547     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings23MySQLi smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings23MySQLi
548     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings23MySQLi 1969-12-31 19:00:00.000000000 -0500
549     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings23MySQLi 2017-04-28 12:55:22.906000000 -0400
550     @@ -0,0 +1,13 @@
551     +;added by stephdl
552     +[MySQLi]
553     +mysqli.max_persistent = -1
554     +mysqli.allow_persistent = On
555     +mysqli.max_links = -1
556     +mysqli.cache_size = 2000
557     +mysqli.default_port = 3306
558     +mysqli.default_socket =
559     +mysqli.default_host =
560     +mysqli.default_user =
561     +mysqli.default_pw =
562     +mysqli.reconnect = Off
563     +
564     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings24PostgreSQL smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings24PostgreSQL
565     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings24PostgreSQL 1969-12-31 19:00:00.000000000 -0500
566     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings24PostgreSQL 2017-04-28 12:55:22.906000000 -0400
567     @@ -0,0 +1,9 @@
568     +;added by stephdl
569     +[PostgreSQL]
570     +pgsql.allow_persistent = On
571     +pgsql.auto_reset_persistent = Off
572     +pgsql.max_persistent = -1
573     +pgsql.max_links = -1
574     +pgsql.ignore_notice = 0
575     +pgsql.log_notice = 0
576     +
577     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings25Tidy smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings25Tidy
578     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings25Tidy 1969-12-31 19:00:00.000000000 -0500
579     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings25Tidy 2017-04-28 12:55:22.906000000 -0400
580     @@ -0,0 +1,3 @@
581     +;added by stephdl
582     +[Tidy]
583     +tidy.clean_output = Off
584     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings26Soap smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings26Soap
585     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings26Soap 1969-12-31 19:00:00.000000000 -0500
586     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings26Soap 2017-04-28 12:57:27.531000000 -0400
587     @@ -0,0 +1,7 @@
588     +; added by stephdl
589     +[soap]
590     +soap.wsdl_cache_enabled=1
591     +soap.wsdl_cache_dir="/opt/remi/php70/root/var/lib/php/wsdlcache"
592     +soap.wsdl_cache_ttl=86400
593     +soap.wsdl_cache_limit = 5
594     +
595     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings27Ldap smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings27Ldap
596     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings27Ldap 1969-12-31 19:00:00.000000000 -0500
597     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings27Ldap 2017-04-28 12:55:22.906000000 -0400
598     @@ -0,0 +1,3 @@
599     +;added by stephdl
600     +[ldap]
601     +ldap.max_links = -1
602     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings28CliServer smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings28CliServer
603     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings28CliServer 1969-12-31 19:00:00.000000000 -0500
604     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/80ModuleSettings28CliServer 2017-04-28 12:55:22.905000000 -0400
605     @@ -0,0 +1,2 @@
606     +[ Server]
607     +cli_server.color = On
608     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/template-begin smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/template-begin
609     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/template-begin 1969-12-31 19:00:00.000000000 -0500
610     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php70/root/etc/php.ini/template-begin 2017-04-28 12:55:22.906000000 -0400
611     @@ -0,0 +1,9 @@
612     +;------------------------------------------------------------
613     +; DO NOT MODIFY THIS FILE! It is updated automatically by the
614     +; SME Server software. Instead, modify the source template in
615     +; an /etc/e-smith/templates-custom directory. For more
616     +; information, see http://www.e-smith.org/custom/
617     +;
618     +; copyright (C) 2002 Mitel Networks Corporation
619     +;------------------------------------------------------------
620     +
621     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/00PHP smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/00PHP
622     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/00PHP 1969-12-31 19:00:00.000000000 -0500
623     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/00PHP 2017-04-28 12:55:25.513000000 -0400
624     @@ -0,0 +1 @@
625     +[PHP]
626     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/10LanguageOptions smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/10LanguageOptions
627     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/10LanguageOptions 1969-12-31 19:00:00.000000000 -0500
628     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/10LanguageOptions 2017-04-28 12:55:25.513000000 -0400
629     @@ -0,0 +1,32 @@
630     +{#;;;;;;;;;;;;;;;;;;
631     +# Language Options ;
632     +#;;;;;;;;;;;;;;;;;;;}
633     +engine = On
634     +short_open_tag = On;
635     +asp_tags = Off
636     +precision = 14
637     +y2k_compliance = Off
638     +output_buffering = Off
639     +output_handler =
640     +implicit_flush = Off
641     +;allow_call_time_pass_reference = On ###disabled because fatal error with php54
642     +safe_mode = Off
643     +safe_mode_exec_dir =
644     +safe_mode_allowed_env_vars = PHP_
645     +safe_mode_protected_env_vars = LD_LIBRARY_PATH
646     +disable_functions =
647     +highlight.string = #DD0000
648     +highlight.comment = #FF8000
649     +highlight.keyword = #007700
650     +highlight.bg = #FFFFFF
651     +highlight.default = #0000BB
652     +highlight.html = #000000
653     +
654     +;added stephdl settings
655     +output_buffering = 4096
656     +zlib.output_compression = Off
657     +unserialize_callback_func =
658     +serialize_precision = 17
659     +disable_classes =
660     +zend.enable_gc = On
661     +default_charset = "UTF-8"
662     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/15ExposePHP smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/15ExposePHP
663     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/15ExposePHP 1969-12-31 19:00:00.000000000 -0500
664     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/15ExposePHP 2017-04-28 12:59:33.111000000 -0400
665     @@ -0,0 +1,5 @@
666     +; Default expose_php to Off for security reasons
667     +expose_php = {
668     + my $ep = $php71{ExposePHP} || "Off";
669     + $OUT .= "$ep";
670     +}
671     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/20ResourceLimits smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/20ResourceLimits
672     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/20ResourceLimits 1969-12-31 19:00:00.000000000 -0500
673     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/20ResourceLimits 2017-04-28 12:59:48.299000000 -0400
674     @@ -0,0 +1,14 @@
675     +max_execution_time = {
676     + my $et = $php71{MaxExecutionTime} || "30";
677     + $OUT .= "$et";
678     +}
679     +memory_limit = {
680     + my $ml = $php71{MemoryLimit} || "128M";
681     + $OUT .= "$ml";
682     +}
683     +;added by stephdl see $php71{MaxInputTime}
684     +max_input_time = {
685     + my $it = $php71{MaxInputTime} || "60";
686     + $OUT .= "$it";
687     +}
688     +
689     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/30ErrorHandling smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/30ErrorHandling
690     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/30ErrorHandling 1969-12-31 19:00:00.000000000 -0500
691     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/30ErrorHandling 2017-04-28 12:55:25.513000000 -0400
692     @@ -0,0 +1,16 @@
693     +mysql.allow_persistent = On
694     +error_reporting = E_ALL & ~E_NOTICE
695     +display_errors = Off
696     +display_startup_errors = Off
697     +log_errors = On
698     +error_log = syslog
699     +track_errors = Off
700     +warn_plus_overloading = Off
701     +
702     +; added by stephdl
703     +log_errors_max_len = 1024
704     +ignore_repeated_errors = Off
705     +ignore_repeated_source = Off
706     +report_memleaks = On
707     +html_errors = On
708     +
709     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/40DataHandling smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/40DataHandling
710     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/40DataHandling 1969-12-31 19:00:00.000000000 -0500
711     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/40DataHandling 2017-04-28 12:58:39.603000000 -0400
712     @@ -0,0 +1,20 @@
713     +mysql.allow_persistent = On
714     +variables_order = "EGPCS"
715     +register_globals = Off
716     +register_argc_argv = On
717     +post_max_size = {
718     + my $ms = $php71{PostMaxSize} || "20M";
719     + $OUT .= "$ms";
720     +}
721     +;gpc_order = "GPC" #deprecated
722     +;magic_quotes_gpc = Off #deprecated
723     +;magic_quotes_runtime = Off #deprecated
724     +;magic_quotes_sybase = Off #deprecated
725     +auto_prepend_file =
726     +auto_append_file =
727     +default_mimetype = "text/html"
728     +
729     +; added by stephdl
730     +variables_order = "EGPCS"
731     +request_order = "GP"
732     +auto_globals_jit = On
733     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/50PathsDirectories smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/50PathsDirectories
734     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/50PathsDirectories 1969-12-31 19:00:00.000000000 -0500
735     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/50PathsDirectories 2017-04-28 13:00:18.544000000 -0400
736     @@ -0,0 +1,7 @@
737     +mysql.allow_persistent = On
738     +include_path = ".:/opt/remi/php71/root/usr/share/pear:/opt/remi/php71/root/usr/share/php:/usr/share/pear"
739     +doc_root =
740     +user_dir =
741     +extension_dir = /opt/remi/php71/root/usr/lib64/php/modules
742     +enable_dl = On
743     +
744     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/60FileUploads smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/60FileUploads
745     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/60FileUploads 1969-12-31 19:00:00.000000000 -0500
746     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/60FileUploads 2017-04-28 12:59:15.614000000 -0400
747     @@ -0,0 +1,10 @@
748     +file_uploads = On
749     +upload_max_filesize = {
750     + my $mf = $php71{UploadMaxFilesize} || "10M";
751     + $OUT .= "$mf";
752     +}
753     +; added by stephdl see $php71{MaxFileUpload}
754     +max_file_upload = {
755     + my $mfu = $php71{MaxFileUpload} || "20";
756     + $OUT .= "$mfu";
757     +}
758     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/65FopenWrappers smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/65FopenWrappers
759     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/65FopenWrappers 1969-12-31 19:00:00.000000000 -0500
760     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/65FopenWrappers 2017-04-28 12:59:57.563000000 -0400
761     @@ -0,0 +1,5 @@
762     +allow_url_fopen = {($php71{AllowUrlFopen} || 'Off')}
763     +;added by stephdl
764     +allow_url_include = Off
765     +default_socket_timeout = 60
766     +
767     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/70TimeZone smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/70TimeZone
768     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/70TimeZone 1969-12-31 19:00:00.000000000 -0500
769     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/70TimeZone 2017-04-28 12:55:25.513000000 -0400
770     @@ -0,0 +1 @@
771     +date.timezone = "{$TimeZone}"
772     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings01Syslog smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings01Syslog
773     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings01Syslog 1969-12-31 19:00:00.000000000 -0500
774     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings01Syslog 2017-04-28 12:55:25.513000000 -0400
775     @@ -0,0 +1,3 @@
776     +[Syslog]
777     +define_syslog_variables = Off
778     +
779     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings02mailfunction smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings02mailfunction
780     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings02mailfunction 1969-12-31 19:00:00.000000000 -0500
781     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings02mailfunction 2017-04-28 12:55:25.513000000 -0400
782     @@ -0,0 +1,4 @@
783     +[mail function]
784     +SMTP = localhost
785     +sendmail_from = me@localhost.com
786     +
787     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings03Debugger smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings03Debugger
788     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings03Debugger 1969-12-31 19:00:00.000000000 -0500
789     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings03Debugger 2017-04-28 12:55:25.514000000 -0400
790     @@ -0,0 +1,5 @@
791     +[Debugger]
792     +debugger.host = localhost
793     +debugger.port = 7869
794     +debugger.enabled = False
795     +
796     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings04Logging smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings04Logging
797     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings04Logging 1969-12-31 19:00:00.000000000 -0500
798     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings04Logging 2017-04-28 12:55:25.513000000 -0400
799     @@ -0,0 +1,2 @@
800     +[Logging]
801     +
802     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings05Java smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings05Java
803     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings05Java 1969-12-31 19:00:00.000000000 -0500
804     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings05Java 2017-04-28 12:55:25.514000000 -0400
805     @@ -0,0 +1,2 @@
806     +[Java]
807     +
808     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings06SQL smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings06SQL
809     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings06SQL 1969-12-31 19:00:00.000000000 -0500
810     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings06SQL 2017-04-28 12:55:25.514000000 -0400
811     @@ -0,0 +1,3 @@
812     +[SQL]
813     +sql.safe_mode = Off
814     +
815     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings07ODBC smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings07ODBC
816     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings07ODBC 1969-12-31 19:00:00.000000000 -0500
817     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings07ODBC 2017-04-28 12:55:25.513000000 -0400
818     @@ -0,0 +1,8 @@
819     +[ODBC]
820     +odbc.allow_persistent = On
821     +odbc.check_persistent = On
822     +odbc.max_persistent = -1
823     +odbc.max_links = -1
824     +odbc.defaultlrl = 4096
825     +odbc.defaultbinmode = 1
826     +
827     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings08MySQL smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings08MySQL
828     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings08MySQL 1969-12-31 19:00:00.000000000 -0500
829     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings08MySQL 2017-04-28 12:55:25.514000000 -0400
830     @@ -0,0 +1,25 @@
831     +;added by stephdl
832     +[Pdo_mysql]
833     +pdo_mysql.cache_size = 2000
834     +pdo_mysql.default_socket=
835     +
836     +[MySQL]
837     +mysql.allow_persistent = On
838     +mysql.cache_size = 2000
839     +mysql.max_persistent = -1
840     +mysql.max_links = -1
841     +mysql.default_port =
842     +mysql.default_socket =
843     +mysql.default_host =
844     +mysql.default_user =
845     +mysql.default_password =
846     +;added by stephdl
847     +mysql.connect_timeout = 60
848     +mysql.trace_mode = Off
849     +
850     +;added by stephdl
851     +[mysqlnd]
852     +mysqlnd.collect_statistics = On
853     +mysqlnd.collect_memory_statistics = Off
854     +
855     +
856     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings09mSQL smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings09mSQL
857     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings09mSQL 1969-12-31 19:00:00.000000000 -0500
858     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings09mSQL 2017-04-28 12:55:25.513000000 -0400
859     @@ -0,0 +1,5 @@
860     +[mSQL]
861     +msql.allow_persistent = On
862     +msql.max_persistent = -1
863     +msql.max_links = -1
864     +
865     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings10PostgresSQL smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings10PostgresSQL
866     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings10PostgresSQL 1969-12-31 19:00:00.000000000 -0500
867     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings10PostgresSQL 2017-04-28 12:55:25.513000000 -0400
868     @@ -0,0 +1,5 @@
869     +[PostgresSQL]
870     +pgsql.allow_persistent = On
871     +pgsql.max_persistent = -1
872     +pgsql.max_links = -1
873     +
874     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings11Sybase smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings11Sybase
875     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings11Sybase 1969-12-31 19:00:00.000000000 -0500
876     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings11Sybase 2017-04-28 12:55:25.514000000 -0400
877     @@ -0,0 +1,8 @@
878     +[Sybase]
879     +sybase.allow_persistent = On
880     +sybase.max_persistent = -1
881     +sybase.max_links = -1
882     +sybase.min_error_severity = 10
883     +sybase.min_message_severity = 10
884     +sybase.compatability_mode = Off
885     +
886     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings12Sybase-CT smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings12Sybase-CT
887     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings12Sybase-CT 1969-12-31 19:00:00.000000000 -0500
888     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings12Sybase-CT 2017-04-28 12:55:25.513000000 -0400
889     @@ -0,0 +1,7 @@
890     +[Sybase-CT]
891     +sybct.allow_persistenT = On
892     +sybct.max_persistent = -1
893     +sybct.max_links = -1
894     +sybct.min_server_severity = 10
895     +sybct.min_client_severity = 10
896     +
897     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings13bcmath smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings13bcmath
898     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings13bcmath 1969-12-31 19:00:00.000000000 -0500
899     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings13bcmath 2017-04-28 12:55:25.513000000 -0400
900     @@ -0,0 +1,3 @@
901     +[bcmath]
902     +bcmath.scale = 0
903     +
904     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings14browscap smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings14browscap
905     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings14browscap 1969-12-31 19:00:00.000000000 -0500
906     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings14browscap 2017-04-28 12:55:25.513000000 -0400
907     @@ -0,0 +1,2 @@
908     +[browscap]
909     +
910     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings15Informix smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings15Informix
911     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings15Informix 1969-12-31 19:00:00.000000000 -0500
912     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings15Informix 2017-04-28 12:55:25.513000000 -0400
913     @@ -0,0 +1,13 @@
914     +[Informix]
915     +ifx.default_host =
916     +ifx.default_useR =
917     +ifx.default_password =
918     +ifx.allow_persistent = On
919     +ifx.max_persistent = -1
920     +ifx.max_links = -1
921     +ifx.textasvarchar = 0
922     +ifx.byteasvarchar = 0
923     +ifx.charasvarchar = 0
924     +ifx.blobinfile = 0
925     +ifx.nullformat = 0
926     +
927     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings16Session smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings16Session
928     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings16Session 1969-12-31 19:00:00.000000000 -0500
929     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings16Session 2017-04-28 13:00:11.369000000 -0400
930     @@ -0,0 +1,28 @@
931     +[Session]
932     +session.save_handler = files
933     +session.save_path = /opt/remi/php71/root/var/lib/php/session
934     +session.use_cookies = 1
935     +session.name = PHPSESSID
936     +session.auto_start = 0
937     +session.cookie_lifetime = 0
938     +session.cookie_path = /
939     +session.cookie_domain =
940     +session.serialize_handler = php
941     +session.gc_probability = 1
942     +session.gc_maxlifetime = 1440
943     +session.referer_check =
944     +session.entropy_length = 0
945     +session.entropy_file =
946     +session.cache_limiter = nocache
947     +session.cache_expire = 180
948     +session.use_trans_sid = 1
949     +url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
950     +
951     +;added by stephdl
952     +session.use_strict_mode = 0
953     +session.use_only_cookies = 1
954     +session.bug_compat_42 = Off
955     +session.bug_compat_warn = Off
956     +session.hash_function = 0
957     +session.hash_bits_per_character = 5
958     +
959     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings17MSSQL smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings17MSSQL
960     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings17MSSQL 1969-12-31 19:00:00.000000000 -0500
961     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings17MSSQL 2017-04-28 12:55:25.514000000 -0400
962     @@ -0,0 +1,10 @@
963     +[MSSQL]
964     +mssql.allow_persistent = On
965     +mssql.max_persistent = -1
966     +mssql.max_links = -1
967     +mssql.min_error_severity = 10
968     +mssql.min_message_severity = 10
969     +mssql.compatability_mode = Off
970     +
971     +;added by stephdl
972     +mssql.secure_connection = Off
973     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings18Assertion smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings18Assertion
974     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings18Assertion 1969-12-31 19:00:00.000000000 -0500
975     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings18Assertion 2017-04-28 12:55:25.513000000 -0400
976     @@ -0,0 +1,2 @@
977     +[Assertion]
978     +
979     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings19IngresII smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings19IngresII
980     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings19IngresII 1969-12-31 19:00:00.000000000 -0500
981     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings19IngresII 2017-04-28 12:55:25.513000000 -0400
982     @@ -0,0 +1,8 @@
983     +[Ingres II]
984     +ingres.allow_persistent = On
985     +ingres.max_persistent = -1
986     +ingres.max_links = -1
987     +ingres.default_database =
988     +ingres.default_user =
989     +ingres.default_password =
990     +
991     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings20VerisignPayflowPro smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings20VerisignPayflowPro
992     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings20VerisignPayflowPro 1969-12-31 19:00:00.000000000 -0500
993     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings20VerisignPayflowPro 2017-04-28 12:55:25.513000000 -0400
994     @@ -0,0 +1,5 @@
995     +[Verisign Payflow Pro]
996     +pfpro.defaulthost = "test.signio.com"
997     +pfpro.defaultport = 443
998     +pfpro.defaulttimeout = 30
999     +
1000     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings21Sockets smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings21Sockets
1001     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings21Sockets 1969-12-31 19:00:00.000000000 -0500
1002     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings21Sockets 2017-04-28 12:55:25.513000000 -0400
1003     @@ -0,0 +1,3 @@
1004     +[Sockets]
1005     +sockets.use_system_read = On
1006     +
1007     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings22Interbase smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings22Interbase
1008     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings22Interbase 1969-12-31 19:00:00.000000000 -0500
1009     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings22Interbase 2017-04-28 12:55:25.514000000 -0400
1010     @@ -0,0 +1,9 @@
1011     +;added by stephdl
1012     +[Interbase]
1013     +ibase.allow_persistent = 1
1014     +ibase.max_persistent = -1
1015     +ibase.max_links = -1
1016     +ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
1017     +ibase.dateformat = "%Y-%m-%d"
1018     +ibase.timeformat = "%H:%M:%S"
1019     +
1020     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings23MySQLi smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings23MySQLi
1021     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings23MySQLi 1969-12-31 19:00:00.000000000 -0500
1022     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings23MySQLi 2017-04-28 12:55:25.514000000 -0400
1023     @@ -0,0 +1,13 @@
1024     +;added by stephdl
1025     +[MySQLi]
1026     +mysqli.max_persistent = -1
1027     +mysqli.allow_persistent = On
1028     +mysqli.max_links = -1
1029     +mysqli.cache_size = 2000
1030     +mysqli.default_port = 3306
1031     +mysqli.default_socket =
1032     +mysqli.default_host =
1033     +mysqli.default_user =
1034     +mysqli.default_pw =
1035     +mysqli.reconnect = Off
1036     +
1037     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings24PostgreSQL smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings24PostgreSQL
1038     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings24PostgreSQL 1969-12-31 19:00:00.000000000 -0500
1039     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings24PostgreSQL 2017-04-28 12:55:25.513000000 -0400
1040     @@ -0,0 +1,9 @@
1041     +;added by stephdl
1042     +[PostgreSQL]
1043     +pgsql.allow_persistent = On
1044     +pgsql.auto_reset_persistent = Off
1045     +pgsql.max_persistent = -1
1046     +pgsql.max_links = -1
1047     +pgsql.ignore_notice = 0
1048     +pgsql.log_notice = 0
1049     +
1050     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings25Tidy smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings25Tidy
1051     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings25Tidy 1969-12-31 19:00:00.000000000 -0500
1052     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings25Tidy 2017-04-28 12:55:25.513000000 -0400
1053     @@ -0,0 +1,3 @@
1054     +;added by stephdl
1055     +[Tidy]
1056     +tidy.clean_output = Off
1057     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings26Soap smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings26Soap
1058     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings26Soap 1969-12-31 19:00:00.000000000 -0500
1059     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings26Soap 2017-04-28 13:00:04.298000000 -0400
1060     @@ -0,0 +1,7 @@
1061     +; added by stephdl
1062     +[soap]
1063     +soap.wsdl_cache_enabled=1
1064     +soap.wsdl_cache_dir="/opt/remi/php71/root/var/lib/php/wsdlcache"
1065     +soap.wsdl_cache_ttl=86400
1066     +soap.wsdl_cache_limit = 5
1067     +
1068     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings27Ldap smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings27Ldap
1069     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings27Ldap 1969-12-31 19:00:00.000000000 -0500
1070     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings27Ldap 2017-04-28 12:55:25.513000000 -0400
1071     @@ -0,0 +1,3 @@
1072     +;added by stephdl
1073     +[ldap]
1074     +ldap.max_links = -1
1075     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings28CliServer smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings28CliServer
1076     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings28CliServer 1969-12-31 19:00:00.000000000 -0500
1077     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/80ModuleSettings28CliServer 2017-04-28 12:55:25.512000000 -0400
1078     @@ -0,0 +1,2 @@
1079     +[ Server]
1080     +cli_server.color = On
1081     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/template-begin smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/template-begin
1082     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/template-begin 1969-12-31 19:00:00.000000000 -0500
1083     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php71/root/etc/php.ini/template-begin 2017-04-28 12:55:25.513000000 -0400
1084     @@ -0,0 +1,9 @@
1085     +;------------------------------------------------------------
1086     +; DO NOT MODIFY THIS FILE! It is updated automatically by the
1087     +; SME Server software. Instead, modify the source template in
1088     +; an /etc/e-smith/templates-custom directory. For more
1089     +; information, see http://www.e-smith.org/custom/
1090     +;
1091     +; copyright (C) 2002 Mitel Networks Corporation
1092     +;------------------------------------------------------------
1093     +
1094     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/20LoadModule80PHP smeserver-php-scl-0.4/root/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/20LoadModule80PHP
1095     --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/20LoadModule80PHP 2015-02-22 11:17:15.000000000 -0500
1096     +++ smeserver-php-scl-0.4/root/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/20LoadModule80PHP 2017-04-28 13:01:42.856000000 -0400
1097     @@ -15,6 +15,12 @@
1098     elsif (-r "/usr/lib64/httpd/modules/libphp56-php5.so" && (($php56{PhpModule} || '') eq 'enabled')) {
1099     $OUT .= "LoadModule php5_module modules/libphp56-php5.so\n";
1100     }
1101     + elsif (-r "/usr/lib64/httpd/modules/libphp70-php7.so" && (($php70{PhpModule} || '') eq 'enabled')) {
1102     + $OUT .= "LoadModule php5_module modules/libphp56-php5.so\n";
1103     + }
1104     + elsif (-r "/usr/lib64/httpd/modules/libphp71-php7.so" && (($php71{PhpModule} || '') eq 'enabled')) {
1105     + $OUT .= "LoadModule php5_module modules/libphp56-php5.so\n";
1106     + }
1107    
1108     else {
1109     $OUT .= "LoadModule php5_module modules/libphp5.so\n";
1110     diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/web/functions/phpscl smeserver-php-scl-0.4/root/etc/e-smith/web/functions/phpscl
1111     --- smeserver-php-scl-0.4.old/root/etc/e-smith/web/functions/phpscl 2015-02-22 11:17:15.000000000 -0500
1112     +++ smeserver-php-scl-0.4/root/etc/e-smith/web/functions/phpscl 2017-04-28 13:03:01.831000000 -0400
1113     @@ -112,7 +112,7 @@
1114     <description>DESC_PHPVERSION</description>
1115     </field>
1116    
1117     -<field type="select" id="phpversion" value="disabled" options="'disabled' => 'DISABLED','php54' => 'PHP54', 'php55' => 'PHP55', 'php56' => 'PHP56'">
1118     +<field type="select" id="phpversion" value="disabled" options="'disabled' => 'DISABLED','php54' => 'PHP54', 'php55' => 'PHP55', 'php56' => 'PHP56', 'php70' => 'PHP70', 'php71' => 'PHP71' ">
1119     <label>PHPVERSION</label>
1120     </field>
1121    
1122     diff -Nur smeserver-php-scl-0.4.old/root/usr/bin/phpscl/php70_REMI smeserver-php-scl-0.4/root/usr/bin/phpscl/php70_REMI
1123     --- smeserver-php-scl-0.4.old/root/usr/bin/phpscl/php70_REMI 1969-12-31 19:00:00.000000000 -0500
1124     +++ smeserver-php-scl-0.4/root/usr/bin/phpscl/php70_REMI 2017-04-28 13:08:51.320000000 -0400
1125     @@ -0,0 +1,3 @@
1126     +#!/bin/bash
1127     +source /opt/remi/php70/enable
1128     +exec php-cgi
1129     diff -Nur smeserver-php-scl-0.4.old/root/usr/bin/phpscl/php71_REMI smeserver-php-scl-0.4/root/usr/bin/phpscl/php71_REMI
1130     --- smeserver-php-scl-0.4.old/root/usr/bin/phpscl/php71_REMI 1969-12-31 19:00:00.000000000 -0500
1131     +++ smeserver-php-scl-0.4/root/usr/bin/phpscl/php71_REMI 2017-04-28 13:09:01.600000000 -0400
1132     @@ -0,0 +1,3 @@
1133     +#!/bin/bash
1134     +source /opt/remi/php71/enable
1135     +exec php-cgi
1136     diff -Nur smeserver-php-scl-0.4.old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/phpscl.pm smeserver-php-scl-0.4/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/phpscl.pm
1137     --- smeserver-php-scl-0.4.old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/phpscl.pm 2015-02-22 11:17:15.000000000 -0500
1138     +++ smeserver-php-scl-0.4/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/phpscl.pm 2017-04-28 13:08:04.320000000 -0400
1139     @@ -357,24 +357,49 @@
1140     $configdb->set_prop('php54','PhpModule','disabled');
1141     $configdb->set_prop('php55','PhpModule','disabled');
1142     $configdb->set_prop('php56','PhpModule','disabled');
1143     + $configdb->set_prop('php70','PhpModule','disabled');
1144     + $configdb->set_prop('php71','PhpModule','disabled');
1145     }
1146     elsif ($version eq 'php54') {
1147     $configdb->set_prop('php54','PhpModule','enabled');
1148     $configdb->set_prop('php55','PhpModule','disabled');
1149     $configdb->set_prop('php56','PhpModule','disabled');
1150     + $configdb->set_prop('php70','PhpModule','disabled');
1151     + $configdb->set_prop('php71','PhpModule','disabled');
1152     }
1153    
1154     elsif ($version eq 'php55') {
1155     $configdb->set_prop('php54','PhpModule','disabled');
1156     $configdb->set_prop('php55','PhpModule','enabled');
1157     $configdb->set_prop('php56','PhpModule','disabled');
1158     + $configdb->set_prop('php70','PhpModule','disabled');
1159     + $configdb->set_prop('php71','PhpModule','disabled');
1160     }
1161    
1162     elsif ($version eq 'php56') {
1163     $configdb->set_prop('php54','PhpModule','disabled');
1164     $configdb->set_prop('php55','PhpModule','disabled');
1165     $configdb->set_prop('php56','PhpModule','enabled');
1166     + $configdb->set_prop('php70','PhpModule','disabled');
1167     + $configdb->set_prop('php71','PhpModule','disabled');
1168     }
1169     +
1170     + elsif ($version eq 'php70') {
1171     + $configdb->set_prop('php54','PhpModule','disabled');
1172     + $configdb->set_prop('php55','PhpModule','disabled');
1173     + $configdb->set_prop('php56','PhpModule','disabled');
1174     + $configdb->set_prop('php70','PhpModule','enabled');
1175     + $configdb->set_prop('php71','PhpModule','disabled');
1176     + }
1177     +
1178     + elsif ($version eq 'php71') {
1179     + $configdb->set_prop('php54','PhpModule','disabled');
1180     + $configdb->set_prop('php55','PhpModule','disabled');
1181     + $configdb->set_prop('php56','PhpModule','disabled');
1182     + $configdb->set_prop('php70','PhpModule','disabled');
1183     + $configdb->set_prop('php71','PhpModule','enabled');
1184     + }
1185     +
1186     if (system ("/sbin/e-smith/signal-event", "php-update" )== 0)
1187     {
1188     $self->success("SUCCESSFULLY_MODIFIED_PHP");
1189     @@ -392,8 +417,10 @@
1190     my $php54 = $configdb->get_prop('php54','PhpModule')||'';
1191     my $php55 = $configdb->get_prop('php55','PhpModule')||'';
1192     my $php56 = $configdb->get_prop('php56','PhpModule')||'';
1193     + my $php70 = $configdb->get_prop('php70','PhpModule')||'';
1194     + my $php71 = $configdb->get_prop('php71','PhpModule')||'';
1195    
1196     - if (($php54 && $php55 && $php56) eq 'disabled') {
1197     + if (($php54 && $php55 && $php56 && $php70 && $php71 ) eq 'disabled') {
1198     $q->param(-name=>'phpmodversion',-value=>'default');
1199     }
1200    
1201     @@ -409,6 +436,14 @@
1202     $q->param(-name=>'phpmodversion',-value=>'php56');
1203     }
1204    
1205     + if ($php70 eq 'enabled') {
1206     + $q->param(-name=>'phpmodversion',-value=>'php70');
1207     + }
1208     +
1209     + if ($php71 eq 'enabled') {
1210     + $q->param(-name=>'phpmodversion',-value=>'php71');
1211     + }
1212     +
1213     return undef;
1214     }
1215     1;

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed