/[smecontribs]/rpms/smeserver-php-scl/contribs9/smeserver-php-scl-0.4.bz10508-addphp72support.patch
ViewVC logotype

Contents of /rpms/smeserver-php-scl/contribs9/smeserver-php-scl-0.4.bz10508-addphp72support.patch

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


Revision 1.1 - (show annotations) (download)
Wed Aug 15 18:13:37 2018 UTC (6 years, 3 months ago) by jpp
Branch: MAIN
php72

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 @@ -15,6 +15,7 @@
5 templates2events("/opt/remi/php56/root/etc/php.ini", $event);
6 templates2events("/opt/remi/php70/root/etc/php.ini", $event);
7 templates2events("/opt/remi/php71/root/etc/php.ini", $event);
8 + templates2events("/opt/remi/php72/root/etc/php.ini", $event);
9 }
10
11 for my $event (qw(php-update))
12 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php72/AllowUrlFopen smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php72/AllowUrlFopen
13 --- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php72/AllowUrlFopen 1969-12-31 19:00:00.000000000 -0500
14 +++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php72/AllowUrlFopen 2017-04-28 12:53:09.768000000 -0400
15 @@ -0,0 +1 @@
16 +Off
17 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php72/MaxExecutionTime smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php72/MaxExecutionTime
18 --- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php72/MaxExecutionTime 1969-12-31 19:00:00.000000000 -0500
19 +++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php72/MaxExecutionTime 2017-04-28 12:53:09.767200000 -0400
20 @@ -0,0 +1 @@
21 +30
22 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php72/MaxFileUpload smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php72/MaxFileUpload
23 --- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php72/MaxFileUpload 1969-12-31 19:00:00.000000000 -0500
24 +++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php72/MaxFileUpload 2017-04-28 12:53:09.768000000 -0400
25 @@ -0,0 +1 @@
26 +20
27 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php72/MaxInputTime smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php72/MaxInputTime
28 --- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php72/MaxInputTime 1969-12-31 19:00:00.000000000 -0500
29 +++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php72/MaxInputTime 2017-04-28 12:53:09.767200000 -0400
30 @@ -0,0 +1 @@
31 +60
32 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php72/MemoryLimit smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php72/MemoryLimit
33 --- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php72/MemoryLimit 1969-12-31 19:00:00.000000000 -0500
34 +++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php72/MemoryLimit 2017-04-28 12:53:09.768000000 -0400
35 @@ -0,0 +1 @@
36 +128M
37 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php72/PhpModule smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php72/PhpModule
38 --- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php72/PhpModule 1969-12-31 19:00:00.000000000 -0500
39 +++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php72/PhpModule 2017-04-28 12:53:09.768000000 -0400
40 @@ -0,0 +1 @@
41 +disabled
42 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php72/PostMaxSize smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php72/PostMaxSize
43 --- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php72/PostMaxSize 1969-12-31 19:00:00.000000000 -0500
44 +++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php72/PostMaxSize 2017-04-28 12:53:09.768000000 -0400
45 @@ -0,0 +1 @@
46 +20M
47 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php72/type smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php72/type
48 --- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php72/type 1969-12-31 19:00:00.000000000 -0500
49 +++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php72/type 2017-04-28 12:53:09.768000000 -0400
50 @@ -0,0 +1 @@
51 +configuration
52 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php72/UploadMaxFilesize smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php72/UploadMaxFilesize
53 --- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php72/UploadMaxFilesize 1969-12-31 19:00:00.000000000 -0500
54 +++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php72/UploadMaxFilesize 2017-04-28 12:53:09.768000000 -0400
55 @@ -0,0 +1 @@
56 +10M
57 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
58 --- 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
59 +++ 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
60 @@ -94,6 +94,23 @@
61
62 }
63
64 + elsif ($php_version eq 'php72')
65 + {
66 +
67 + # write the configuration
68 +
69 + $OUT .= "\n";
70 + $OUT .= "\n";
71 + $OUT .= "<Directory /home/e-smith/files/ibays/$key/html>\n";
72 + $OUT .= " # use PHP72 SCL from Remi repository instead of the default PHP\n";
73 + $OUT .= " AddHandler phpscl-cgi .php\n";
74 + $OUT .= " Action phpscl-cgi /phpscl-cgi/php72_REMI\n";
75 + $OUT .= "</Directory>\n";
76 + $OUT .= "\n";
77 + $OUT .= "\n";
78 +
79 + }
80 +
81
82 }
83
84 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/00PHP smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/00PHP
85 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/00PHP 1969-12-31 19:00:00.000000000 -0500
86 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/00PHP 2017-04-28 12:55:22.906000000 -0400
87 @@ -0,0 +1 @@
88 +[PHP]
89 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/10LanguageOptions smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/10LanguageOptions
90 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/10LanguageOptions 1969-12-31 19:00:00.000000000 -0500
91 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/10LanguageOptions 2017-04-28 12:55:22.906000000 -0400
92 @@ -0,0 +1,32 @@
93 +{#;;;;;;;;;;;;;;;;;;
94 +# Language Options ;
95 +#;;;;;;;;;;;;;;;;;;;}
96 +engine = On
97 +short_open_tag = On;
98 +asp_tags = Off
99 +precision = 14
100 +y2k_compliance = Off
101 +output_buffering = Off
102 +output_handler =
103 +implicit_flush = Off
104 +;allow_call_time_pass_reference = On ###disabled because fatal error with php54
105 +safe_mode = Off
106 +safe_mode_exec_dir =
107 +safe_mode_allowed_env_vars = PHP_
108 +safe_mode_protected_env_vars = LD_LIBRARY_PATH
109 +disable_functions =
110 +highlight.string = #DD0000
111 +highlight.comment = #FF8000
112 +highlight.keyword = #007700
113 +highlight.bg = #FFFFFF
114 +highlight.default = #0000BB
115 +highlight.html = #000000
116 +
117 +;added stephdl settings
118 +output_buffering = 4096
119 +zlib.output_compression = Off
120 +unserialize_callback_func =
121 +serialize_precision = 17
122 +disable_classes =
123 +zend.enable_gc = On
124 +default_charset = "UTF-8"
125 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/15ExposePHP smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/15ExposePHP
126 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/15ExposePHP 1969-12-31 19:00:00.000000000 -0500
127 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/15ExposePHP 2017-04-28 12:56:42.544000000 -0400
128 @@ -0,0 +1,5 @@
129 +; Default expose_php to Off for security reasons
130 +expose_php = {
131 + my $ep = $php72{ExposePHP} || "Off";
132 + $OUT .= "$ep";
133 +}
134 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/20ResourceLimits smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/20ResourceLimits
135 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/20ResourceLimits 1969-12-31 19:00:00.000000000 -0500
136 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/20ResourceLimits 2017-04-28 12:57:03.942000000 -0400
137 @@ -0,0 +1,14 @@
138 +max_execution_time = {
139 + my $et = $php72{MaxExecutionTime} || "30";
140 + $OUT .= "$et";
141 +}
142 +memory_limit = {
143 + my $ml = $php72{MemoryLimit} || "128M";
144 + $OUT .= "$ml";
145 +}
146 +;added by stephdl see $php72{MaxInputTime}
147 +max_input_time = {
148 + my $it = $php72{MaxInputTime} || "60";
149 + $OUT .= "$it";
150 +}
151 +
152 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/30ErrorHandling smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/30ErrorHandling
153 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/30ErrorHandling 1969-12-31 19:00:00.000000000 -0500
154 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/30ErrorHandling 2017-04-28 12:55:22.906000000 -0400
155 @@ -0,0 +1,16 @@
156 +mysql.allow_persistent = On
157 +error_reporting = E_ALL & ~E_NOTICE
158 +display_errors = Off
159 +display_startup_errors = Off
160 +log_errors = On
161 +error_log = syslog
162 +track_errors = Off
163 +warn_plus_overloading = Off
164 +
165 +; added by stephdl
166 +log_errors_max_len = 1024
167 +ignore_repeated_errors = Off
168 +ignore_repeated_source = Off
169 +report_memleaks = On
170 +html_errors = On
171 +
172 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/40DataHandling smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/40DataHandling
173 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/40DataHandling 1969-12-31 19:00:00.000000000 -0500
174 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/40DataHandling 2017-04-28 12:56:12.603000000 -0400
175 @@ -0,0 +1,20 @@
176 +mysql.allow_persistent = On
177 +variables_order = "EGPCS"
178 +register_globals = Off
179 +register_argc_argv = On
180 +post_max_size = {
181 + my $ms = $php72{PostMaxSize} || "20M";
182 + $OUT .= "$ms";
183 +}
184 +;gpc_order = "GPC" #deprecated
185 +;magic_quotes_gpc = Off #deprecated
186 +;magic_quotes_runtime = Off #deprecated
187 +;magic_quotes_sybase = Off #deprecated
188 +auto_prepend_file =
189 +auto_append_file =
190 +default_mimetype = "text/html"
191 +
192 +; added by stephdl
193 +variables_order = "EGPCS"
194 +request_order = "GP"
195 +auto_globals_jit = On
196 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/50PathsDirectories smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/50PathsDirectories
197 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/50PathsDirectories 1969-12-31 19:00:00.000000000 -0500
198 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/50PathsDirectories 2017-04-28 12:57:59.407200000 -0400
199 @@ -0,0 +1,7 @@
200 +mysql.allow_persistent = On
201 +include_path = ".:/opt/remi/php72/root/usr/share/pear:/opt/remi/php72/root/usr/share/php:/usr/share/pear"
202 +doc_root =
203 +user_dir =
204 +extension_dir = /opt/remi/php72/root/usr/lib64/php/modules
205 +enable_dl = On
206 +
207 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/60FileUploads smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/60FileUploads
208 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/60FileUploads 1969-12-31 19:00:00.000000000 -0500
209 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/60FileUploads 2017-04-28 12:56:32.154000000 -0400
210 @@ -0,0 +1,10 @@
211 +file_uploads = On
212 +upload_max_filesize = {
213 + my $mf = $php72{UploadMaxFilesize} || "10M";
214 + $OUT .= "$mf";
215 +}
216 +; added by stephdl see $php72{MaxFileUpload}
217 +max_file_upload = {
218 + my $mfu = $php72{MaxFileUpload} || "20";
219 + $OUT .= "$mfu";
220 +}
221 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/65FopenWrappers smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/65FopenWrappers
222 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/65FopenWrappers 1969-12-31 19:00:00.000000000 -0500
223 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/65FopenWrappers 2017-04-28 12:57:14.583000000 -0400
224 @@ -0,0 +1,5 @@
225 +allow_url_fopen = {($php72{AllowUrlFopen} || 'Off')}
226 +;added by stephdl
227 +allow_url_include = Off
228 +default_socket_timeout = 60
229 +
230 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/72TimeZone smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/72TimeZone
231 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/72TimeZone 1969-12-31 19:00:00.000000000 -0500
232 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/72TimeZone 2017-04-28 12:55:22.905000000 -0400
233 @@ -0,0 +1 @@
234 +date.timezone = "{$TimeZone}"
235 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings01Syslog smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings01Syslog
236 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings01Syslog 1969-12-31 19:00:00.000000000 -0500
237 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings01Syslog 2017-04-28 12:55:22.906000000 -0400
238 @@ -0,0 +1,3 @@
239 +[Syslog]
240 +define_syslog_variables = Off
241 +
242 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings02mailfunction smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings02mailfunction
243 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings02mailfunction 1969-12-31 19:00:00.000000000 -0500
244 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings02mailfunction 2017-04-28 12:55:22.906000000 -0400
245 @@ -0,0 +1,4 @@
246 +[mail function]
247 +SMTP = localhost
248 +sendmail_from = me@localhost.com
249 +
250 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings03Debugger smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings03Debugger
251 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings03Debugger 1969-12-31 19:00:00.000000000 -0500
252 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings03Debugger 2017-04-28 12:55:22.906000000 -0400
253 @@ -0,0 +1,5 @@
254 +[Debugger]
255 +debugger.host = localhost
256 +debugger.port = 7869
257 +debugger.enabled = False
258 +
259 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings04Logging smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings04Logging
260 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings04Logging 1969-12-31 19:00:00.000000000 -0500
261 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings04Logging 2017-04-28 12:55:22.906000000 -0400
262 @@ -0,0 +1,2 @@
263 +[Logging]
264 +
265 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings05Java smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings05Java
266 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings05Java 1969-12-31 19:00:00.000000000 -0500
267 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings05Java 2017-04-28 12:55:22.906000000 -0400
268 @@ -0,0 +1,2 @@
269 +[Java]
270 +
271 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings06SQL smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings06SQL
272 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings06SQL 1969-12-31 19:00:00.000000000 -0500
273 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings06SQL 2017-04-28 12:55:22.907000000 -0400
274 @@ -0,0 +1,3 @@
275 +[SQL]
276 +sql.safe_mode = Off
277 +
278 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings07ODBC smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings07ODBC
279 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings07ODBC 1969-12-31 19:00:00.000000000 -0500
280 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings07ODBC 2017-04-28 12:55:22.906000000 -0400
281 @@ -0,0 +1,8 @@
282 +[ODBC]
283 +odbc.allow_persistent = On
284 +odbc.check_persistent = On
285 +odbc.max_persistent = -1
286 +odbc.max_links = -1
287 +odbc.defaultlrl = 4096
288 +odbc.defaultbinmode = 1
289 +
290 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings08MySQL smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings08MySQL
291 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings08MySQL 1969-12-31 19:00:00.000000000 -0500
292 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings08MySQL 2017-04-28 12:55:22.906000000 -0400
293 @@ -0,0 +1,25 @@
294 +;added by stephdl
295 +[Pdo_mysql]
296 +pdo_mysql.cache_size = 2000
297 +pdo_mysql.default_socket=
298 +
299 +[MySQL]
300 +mysql.allow_persistent = On
301 +mysql.cache_size = 2000
302 +mysql.max_persistent = -1
303 +mysql.max_links = -1
304 +mysql.default_port =
305 +mysql.default_socket =
306 +mysql.default_host =
307 +mysql.default_user =
308 +mysql.default_password =
309 +;added by stephdl
310 +mysql.connect_timeout = 60
311 +mysql.trace_mode = Off
312 +
313 +;added by stephdl
314 +[mysqlnd]
315 +mysqlnd.collect_statistics = On
316 +mysqlnd.collect_memory_statistics = Off
317 +
318 +
319 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings09mSQL smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings09mSQL
320 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings09mSQL 1969-12-31 19:00:00.000000000 -0500
321 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings09mSQL 2017-04-28 12:55:22.906000000 -0400
322 @@ -0,0 +1,5 @@
323 +[mSQL]
324 +msql.allow_persistent = On
325 +msql.max_persistent = -1
326 +msql.max_links = -1
327 +
328 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings10PostgresSQL smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings10PostgresSQL
329 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings10PostgresSQL 1969-12-31 19:00:00.000000000 -0500
330 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings10PostgresSQL 2017-04-28 12:55:22.905000000 -0400
331 @@ -0,0 +1,5 @@
332 +[PostgresSQL]
333 +pgsql.allow_persistent = On
334 +pgsql.max_persistent = -1
335 +pgsql.max_links = -1
336 +
337 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings11Sybase smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings11Sybase
338 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings11Sybase 1969-12-31 19:00:00.000000000 -0500
339 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings11Sybase 2017-04-28 12:55:22.906000000 -0400
340 @@ -0,0 +1,8 @@
341 +[Sybase]
342 +sybase.allow_persistent = On
343 +sybase.max_persistent = -1
344 +sybase.max_links = -1
345 +sybase.min_error_severity = 10
346 +sybase.min_message_severity = 10
347 +sybase.compatability_mode = Off
348 +
349 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings12Sybase-CT smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings12Sybase-CT
350 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings12Sybase-CT 1969-12-31 19:00:00.000000000 -0500
351 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings12Sybase-CT 2017-04-28 12:55:22.906000000 -0400
352 @@ -0,0 +1,7 @@
353 +[Sybase-CT]
354 +sybct.allow_persistenT = On
355 +sybct.max_persistent = -1
356 +sybct.max_links = -1
357 +sybct.min_server_severity = 10
358 +sybct.min_client_severity = 10
359 +
360 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings13bcmath smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings13bcmath
361 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings13bcmath 1969-12-31 19:00:00.000000000 -0500
362 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings13bcmath 2017-04-28 12:55:22.906000000 -0400
363 @@ -0,0 +1,3 @@
364 +[bcmath]
365 +bcmath.scale = 0
366 +
367 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings14browscap smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings14browscap
368 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings14browscap 1969-12-31 19:00:00.000000000 -0500
369 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings14browscap 2017-04-28 12:55:22.905000000 -0400
370 @@ -0,0 +1,2 @@
371 +[browscap]
372 +
373 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings15Informix smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings15Informix
374 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings15Informix 1969-12-31 19:00:00.000000000 -0500
375 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings15Informix 2017-04-28 12:55:22.906000000 -0400
376 @@ -0,0 +1,13 @@
377 +[Informix]
378 +ifx.default_host =
379 +ifx.default_useR =
380 +ifx.default_password =
381 +ifx.allow_persistent = On
382 +ifx.max_persistent = -1
383 +ifx.max_links = -1
384 +ifx.textasvarchar = 0
385 +ifx.byteasvarchar = 0
386 +ifx.charasvarchar = 0
387 +ifx.blobinfile = 0
388 +ifx.nullformat = 0
389 +
390 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings16Session smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings16Session
391 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings16Session 1969-12-31 19:00:00.000000000 -0500
392 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings16Session 2017-04-28 12:57:39.602000000 -0400
393 @@ -0,0 +1,28 @@
394 +[Session]
395 +session.save_handler = files
396 +session.save_path = /var/opt/remi/php72/lib/php/session
397 +session.use_cookies = 1
398 +session.name = PHPSESSID
399 +session.auto_start = 0
400 +session.cookie_lifetime = 0
401 +session.cookie_path = /
402 +session.cookie_domain =
403 +session.serialize_handler = php
404 +session.gc_probability = 1
405 +session.gc_maxlifetime = 1440
406 +session.referer_check =
407 +session.entropy_length = 0
408 +session.entropy_file =
409 +session.cache_limiter = nocache
410 +session.cache_expire = 180
411 +session.use_trans_sid = 1
412 +url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
413 +
414 +;added by stephdl
415 +session.use_strict_mode = 0
416 +session.use_only_cookies = 1
417 +session.bug_compat_42 = Off
418 +session.bug_compat_warn = Off
419 +session.hash_function = 0
420 +session.hash_bits_per_character = 5
421 +
422 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings17MSSQL smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings17MSSQL
423 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings17MSSQL 1969-12-31 19:00:00.000000000 -0500
424 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings17MSSQL 2017-04-28 12:55:22.907000000 -0400
425 @@ -0,0 +1,10 @@
426 +[MSSQL]
427 +mssql.allow_persistent = On
428 +mssql.max_persistent = -1
429 +mssql.max_links = -1
430 +mssql.min_error_severity = 10
431 +mssql.min_message_severity = 10
432 +mssql.compatability_mode = Off
433 +
434 +;added by stephdl
435 +mssql.secure_connection = Off
436 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings18Assertion smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings18Assertion
437 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings18Assertion 1969-12-31 19:00:00.000000000 -0500
438 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings18Assertion 2017-04-28 12:55:22.906000000 -0400
439 @@ -0,0 +1,2 @@
440 +[Assertion]
441 +
442 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings19IngresII smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings19IngresII
443 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings19IngresII 1969-12-31 19:00:00.000000000 -0500
444 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings19IngresII 2017-04-28 12:55:22.906000000 -0400
445 @@ -0,0 +1,8 @@
446 +[Ingres II]
447 +ingres.allow_persistent = On
448 +ingres.max_persistent = -1
449 +ingres.max_links = -1
450 +ingres.default_database =
451 +ingres.default_user =
452 +ingres.default_password =
453 +
454 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings20VerisignPayflowPro smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings20VerisignPayflowPro
455 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings20VerisignPayflowPro 1969-12-31 19:00:00.000000000 -0500
456 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings20VerisignPayflowPro 2017-04-28 12:55:22.906000000 -0400
457 @@ -0,0 +1,5 @@
458 +[Verisign Payflow Pro]
459 +pfpro.defaulthost = "test.signio.com"
460 +pfpro.defaultport = 443
461 +pfpro.defaulttimeout = 30
462 +
463 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings21Sockets smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings21Sockets
464 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings21Sockets 1969-12-31 19:00:00.000000000 -0500
465 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings21Sockets 2017-04-28 12:55:22.905000000 -0400
466 @@ -0,0 +1,3 @@
467 +[Sockets]
468 +sockets.use_system_read = On
469 +
470 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings22Interbase smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings22Interbase
471 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings22Interbase 1969-12-31 19:00:00.000000000 -0500
472 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings22Interbase 2017-04-28 12:55:22.906000000 -0400
473 @@ -0,0 +1,9 @@
474 +;added by stephdl
475 +[Interbase]
476 +ibase.allow_persistent = 1
477 +ibase.max_persistent = -1
478 +ibase.max_links = -1
479 +ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
480 +ibase.dateformat = "%Y-%m-%d"
481 +ibase.timeformat = "%H:%M:%S"
482 +
483 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings23MySQLi smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings23MySQLi
484 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings23MySQLi 1969-12-31 19:00:00.000000000 -0500
485 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings23MySQLi 2017-04-28 12:55:22.906000000 -0400
486 @@ -0,0 +1,13 @@
487 +;added by stephdl
488 +[MySQLi]
489 +mysqli.max_persistent = -1
490 +mysqli.allow_persistent = On
491 +mysqli.max_links = -1
492 +mysqli.cache_size = 2000
493 +mysqli.default_port = 3306
494 +mysqli.default_socket =
495 +mysqli.default_host =
496 +mysqli.default_user =
497 +mysqli.default_pw =
498 +mysqli.reconnect = Off
499 +
500 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings24PostgreSQL smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings24PostgreSQL
501 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings24PostgreSQL 1969-12-31 19:00:00.000000000 -0500
502 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings24PostgreSQL 2017-04-28 12:55:22.906000000 -0400
503 @@ -0,0 +1,9 @@
504 +;added by stephdl
505 +[PostgreSQL]
506 +pgsql.allow_persistent = On
507 +pgsql.auto_reset_persistent = Off
508 +pgsql.max_persistent = -1
509 +pgsql.max_links = -1
510 +pgsql.ignore_notice = 0
511 +pgsql.log_notice = 0
512 +
513 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings25Tidy smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings25Tidy
514 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings25Tidy 1969-12-31 19:00:00.000000000 -0500
515 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings25Tidy 2017-04-28 12:55:22.906000000 -0400
516 @@ -0,0 +1,3 @@
517 +;added by stephdl
518 +[Tidy]
519 +tidy.clean_output = Off
520 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings26Soap smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings26Soap
521 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings26Soap 1969-12-31 19:00:00.000000000 -0500
522 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings26Soap 2017-04-28 12:57:27.531000000 -0400
523 @@ -0,0 +1,7 @@
524 +; added by stephdl
525 +[soap]
526 +soap.wsdl_cache_enabled=1
527 +soap.wsdl_cache_dir="/var/opt/remi/php72/lib/php/wsdlcache"
528 +soap.wsdl_cache_ttl=86400
529 +soap.wsdl_cache_limit = 5
530 +
531 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings27Ldap smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings27Ldap
532 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings27Ldap 1969-12-31 19:00:00.000000000 -0500
533 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings27Ldap 2017-04-28 12:55:22.906000000 -0400
534 @@ -0,0 +1,3 @@
535 +;added by stephdl
536 +[ldap]
537 +ldap.max_links = -1
538 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings28CliServer smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings28CliServer
539 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings28CliServer 1969-12-31 19:00:00.000000000 -0500
540 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/80ModuleSettings28CliServer 2017-04-28 12:55:22.905000000 -0400
541 @@ -0,0 +1,2 @@
542 +[ Server]
543 +cli_server.color = On
544 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/template-begin smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/template-begin
545 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/template-begin 1969-12-31 19:00:00.000000000 -0500
546 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates/opt/remi/php72/root/etc/php.ini/template-begin 2017-04-28 12:55:22.906000000 -0400
547 @@ -0,0 +1,9 @@
548 +;------------------------------------------------------------
549 +; DO NOT MODIFY THIS FILE! It is updated automatically by the
550 +; SME Server software. Instead, modify the source template in
551 +; an /etc/e-smith/templates-custom directory. For more
552 +; information, see http://www.e-smith.org/custom/
553 +;
554 +; copyright (C) 2002 Mitel Networks Corporation
555 +;------------------------------------------------------------
556 +
557 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
558 --- 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
559 +++ 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
560 @@ -21,6 +21,9 @@
561 elsif (-r "/usr/lib64/httpd/modules/libphp71.so" && (($php71{PhpModule} || '') eq 'enabled')) {
562 $OUT .= "LoadModule php7_module modules/libphp71.so\n";
563 }
564 + elsif (-r "/usr/lib64/httpd/modules/libphp72.so" && (($php72{PhpModule} || '') eq 'enabled')) {
565 + $OUT .= "LoadModule php7_module modules/libphp72.so\n";
566 + }
567
568 else {
569 $OUT .= "LoadModule php5_module modules/libphp5.so\n";
570 diff -Nur smeserver-php-scl-0.4.old/root/usr/bin/phpscl/php72_REMI smeserver-php-scl-0.4/root/usr/bin/phpscl/php72_REMI
571 --- smeserver-php-scl-0.4.old/root/usr/bin/phpscl/php72_REMI 1969-12-31 19:00:00.000000000 -0500
572 +++ smeserver-php-scl-0.4/root/usr/bin/phpscl/php72_REMI 2017-04-28 13:08:51.320000000 -0400
573 @@ -0,0 +1,3 @@
574 +#!/bin/bash
575 +source /opt/remi/php72/enable
576 +exec php-cgi
577 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
578 --- 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
579 +++ smeserver-php-scl-0.4/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/phpscl.pm 2017-04-28 13:08:04.320000000 -0400
580 @@ -359,6 +359,7 @@
581 $configdb->set_prop('php56','PhpModule','disabled');
582 $configdb->set_prop('php70','PhpModule','disabled');
583 $configdb->set_prop('php71','PhpModule','disabled');
584 + $configdb->set_prop('php72','PhpModule','disabled');
585 }
586 elsif ($version eq 'php54') {
587 $configdb->set_prop('php54','PhpModule','enabled');
588 @@ -366,6 +367,7 @@
589 $configdb->set_prop('php56','PhpModule','disabled');
590 $configdb->set_prop('php70','PhpModule','disabled');
591 $configdb->set_prop('php71','PhpModule','disabled');
592 + $configdb->set_prop('php72','PhpModule','disabled');
593 }
594
595 elsif ($version eq 'php55') {
596 @@ -374,6 +376,7 @@
597 $configdb->set_prop('php56','PhpModule','disabled');
598 $configdb->set_prop('php70','PhpModule','disabled');
599 $configdb->set_prop('php71','PhpModule','disabled');
600 + $configdb->set_prop('php72','PhpModule','disabled');
601 }
602
603 elsif ($version eq 'php56') {
604 @@ -382,6 +385,7 @@
605 $configdb->set_prop('php56','PhpModule','enabled');
606 $configdb->set_prop('php70','PhpModule','disabled');
607 $configdb->set_prop('php71','PhpModule','disabled');
608 + $configdb->set_prop('php72','PhpModule','disabled');
609 }
610
611 elsif ($version eq 'php70') {
612 @@ -398,8 +402,17 @@
613 $configdb->set_prop('php56','PhpModule','disabled');
614 $configdb->set_prop('php70','PhpModule','disabled');
615 $configdb->set_prop('php71','PhpModule','enabled');
616 + $configdb->set_prop('php72','PhpModule','disabled');
617 }
618
619 + elsif ($version eq 'php72') {
620 + $configdb->set_prop('php54','PhpModule','disabled');
621 + $configdb->set_prop('php55','PhpModule','disabled');
622 + $configdb->set_prop('php56','PhpModule','disabled');
623 + $configdb->set_prop('php70','PhpModule','disabled');
624 + $configdb->set_prop('php71','PhpModule','disabled');
625 + $configdb->set_prop('php72','PhpModule','enabled');
626 + }
627 if (system ("/sbin/e-smith/signal-event", "php-update" )== 0)
628 {
629 $self->success("SUCCESSFULLY_MODIFIED_PHP");
630 @@ -419,8 +432,9 @@
631 my $php56 = $configdb->get_prop('php56','PhpModule')||'';
632 my $php70 = $configdb->get_prop('php70','PhpModule')||'';
633 my $php71 = $configdb->get_prop('php71','PhpModule')||'';
634 -
635 - if (($php54 && $php55 && $php56 && $php70 && $php71 ) eq 'disabled') {
636 + my $php72 = $configdb->get_prop('php72','PhpModule')||'';
637 +
638 + if (($php54 && $php55 && $php56 && $php70 && $php71 && $php72) eq 'disabled') {
639 $q->param(-name=>'phpmodversion',-value=>'default');
640 }
641
642 @@ -436,14 +463,18 @@
643 $q->param(-name=>'phpmodversion',-value=>'php56');
644 }
645
646 if ($php70 eq 'enabled') {
647 $q->param(-name=>'phpmodversion',-value=>'php70');
648 }
649
650 if ($php71 eq 'enabled') {
651 $q->param(-name=>'phpmodversion',-value=>'php71');
652 }
653 +
654 + if ($php72 eq 'enabled') {
655 + $q->param(-name=>'phpmodversion',-value=>'php72');
656 + }
657
658 return undef;
659 }
660 1;
661 --- smeserver-php-scl-0.4.old/root/etc/e-smith/web/functions/phpscl 2015-02-22 11:17:15.000000000 -0500
662 +++ smeserver-php-scl-0.4/root/etc/e-smith/web/functions/phpscl 2017-05-03 16:47:46.666000000 -0400
663 @@ -112,7 +112,7 @@
664 <description>DESC_PHPVERSION</description>
665 </field>
666
667 -<field type="select" id="phpversion" value="disabled" options="'disabled' => 'DISABLED','php54' => 'PHP54', 'php55' => 'PHP55', 'php56' => 'PHP56', 'php70' => 'PHP70', 'php71' => 'PHP71' ">
668 +<field type="select" id="phpversion" value="disabled" options="'disabled' => 'DISABLED','php54' => 'PHP54', 'php55' => 'PHP55', 'php56' => 'PHP56', 'php70' => 'PHP70', 'php71' => 'PHP71','php72' => 'PHP72'">
669 <label>PHPVERSION</label>
670 </field>
671
672 @@ -129,7 +129,7 @@
673 <description>DESC_PHPMODVERSION</description>
674 </field>
675 <subroutine src="retrieve_cgi_phpmod" />
676 - <field type="select" id="phpmodversion" value="default" options="'default' => 'DEFAULT','php54' => 'PHP54', 'php55' => 'PHP55', 'php56' => 'PHP56', 'php70' => 'PHP70', 'php71' => 'PHP71' ">
677 + <field type="select" id="phpmodversion" value="default" options="'default' => 'DEFAULT','php54' => 'PHP54', 'php55' => 'PHP55', 'php56' => 'PHP56', 'php70' => 'PHP70', 'php71' => 'PHP71','php72' => 'PHP72'">
678 <label>PHPMODVERSION</label>
679 </field>
680 <subroutine src="print_save_or_add_button()" />
681 diff -Nur smeserver-php-scl-0.4.old/root/etc/e-smith/templates.metadata/opt/remi/php72/root/etc/php.ini smeserver-php-scl-0.4/root/etc/e-smith/templates.metadata/opt/remi/php72/root/etc/php.ini
682 --- smeserver-php-scl-0.4.old/root/etc/e-smith/templates.metadata/opt/remi/php72/root/etc/php.ini 1969-12-31 19:00:00.000000000 -0500
683 +++ smeserver-php-scl-0.4/root/etc/e-smith/templates.metadata/opt/remi/php72/root/etc/php.ini 2017-06-09 14:35:35.049000000 -0400
684 @@ -0,0 +1,2 @@
685 +TEMPLATE_PATH="/opt/remi/php72/root/etc/php.ini"
686 +OUTPUT_FILENAME="/etc/opt/remi/php72/php.ini"

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