diff -Nur smeserver-php-scl-0.4.old/createlinks smeserver-php-scl-0.4/createlinks
--- smeserver-php-scl-0.4.old/createlinks 2015-02-22 11:17:15.000000000 -0500
+++ smeserver-php-scl-0.4/createlinks 2017-04-28 12:52:45.882000000 -0400
@@ -15,6 +15,7 @@
templates2events("/opt/remi/php56/root/etc/php.ini", $event);
templates2events("/opt/remi/php70/root/etc/php.ini", $event);
templates2events("/opt/remi/php71/root/etc/php.ini", $event);
+ templates2events("/opt/remi/php72/root/etc/php.ini", $event);
}
for my $event (qw(php-update))
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
--- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php72/AllowUrlFopen 1969-12-31 19:00:00.000000000 -0500
+++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php72/AllowUrlFopen 2017-04-28 12:53:09.768000000 -0400
@@ -0,0 +1 @@
+Off
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
--- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php72/MaxExecutionTime 1969-12-31 19:00:00.000000000 -0500
+++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php72/MaxExecutionTime 2017-04-28 12:53:09.767200000 -0400
@@ -0,0 +1 @@
+30
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
--- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php72/MaxFileUpload 1969-12-31 19:00:00.000000000 -0500
+++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php72/MaxFileUpload 2017-04-28 12:53:09.768000000 -0400
@@ -0,0 +1 @@
+20
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
--- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php72/MaxInputTime 1969-12-31 19:00:00.000000000 -0500
+++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php72/MaxInputTime 2017-04-28 12:53:09.767200000 -0400
@@ -0,0 +1 @@
+60
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
--- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php72/MemoryLimit 1969-12-31 19:00:00.000000000 -0500
+++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php72/MemoryLimit 2017-04-28 12:53:09.768000000 -0400
@@ -0,0 +1 @@
+128M
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
--- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php72/PhpModule 1969-12-31 19:00:00.000000000 -0500
+++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php72/PhpModule 2017-04-28 12:53:09.768000000 -0400
@@ -0,0 +1 @@
+disabled
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
--- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php72/PostMaxSize 1969-12-31 19:00:00.000000000 -0500
+++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php72/PostMaxSize 2017-04-28 12:53:09.768000000 -0400
@@ -0,0 +1 @@
+20M
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
--- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php72/type 1969-12-31 19:00:00.000000000 -0500
+++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php72/type 2017-04-28 12:53:09.768000000 -0400
@@ -0,0 +1 @@
+configuration
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
--- smeserver-php-scl-0.4.old/root/etc/e-smith/db/configuration/defaults/php72/UploadMaxFilesize 1969-12-31 19:00:00.000000000 -0500
+++ smeserver-php-scl-0.4/root/etc/e-smith/db/configuration/defaults/php72/UploadMaxFilesize 2017-04-28 12:53:09.768000000 -0400
@@ -0,0 +1 @@
+10M
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
--- 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
+++ 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
@@ -94,6 +94,23 @@
}
+ elsif ($php_version eq 'php72')
+ {
+
+ # write the configuration
+
+ $OUT .= "\n";
+ $OUT .= "\n";
+ $OUT .= "\n";
+ $OUT .= " # use PHP72 SCL from Remi repository instead of the default PHP\n";
+ $OUT .= " AddHandler phpscl-cgi .php\n";
+ $OUT .= " Action phpscl-cgi /phpscl-cgi/php72_REMI\n";
+ $OUT .= "\n";
+ $OUT .= "\n";
+ $OUT .= "\n";
+
+ }
+
}
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
--- 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
+++ 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
@@ -0,0 +1 @@
+[PHP]
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
--- 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
+++ 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
@@ -0,0 +1,32 @@
+{#;;;;;;;;;;;;;;;;;;
+# Language Options ;
+#;;;;;;;;;;;;;;;;;;;}
+engine = On
+short_open_tag = On;
+asp_tags = Off
+precision = 14
+y2k_compliance = Off
+output_buffering = Off
+output_handler =
+implicit_flush = Off
+;allow_call_time_pass_reference = On ###disabled because fatal error with php54
+safe_mode = Off
+safe_mode_exec_dir =
+safe_mode_allowed_env_vars = PHP_
+safe_mode_protected_env_vars = LD_LIBRARY_PATH
+disable_functions =
+highlight.string = #DD0000
+highlight.comment = #FF8000
+highlight.keyword = #007700
+highlight.bg = #FFFFFF
+highlight.default = #0000BB
+highlight.html = #000000
+
+;added stephdl settings
+output_buffering = 4096
+zlib.output_compression = Off
+unserialize_callback_func =
+serialize_precision = 17
+disable_classes =
+zend.enable_gc = On
+default_charset = "UTF-8"
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
--- 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
+++ 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
@@ -0,0 +1,5 @@
+; Default expose_php to Off for security reasons
+expose_php = {
+ my $ep = $php72{ExposePHP} || "Off";
+ $OUT .= "$ep";
+}
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
--- 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
+++ 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
@@ -0,0 +1,14 @@
+max_execution_time = {
+ my $et = $php72{MaxExecutionTime} || "30";
+ $OUT .= "$et";
+}
+memory_limit = {
+ my $ml = $php72{MemoryLimit} || "128M";
+ $OUT .= "$ml";
+}
+;added by stephdl see $php72{MaxInputTime}
+max_input_time = {
+ my $it = $php72{MaxInputTime} || "60";
+ $OUT .= "$it";
+}
+
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
--- 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
+++ 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
@@ -0,0 +1,16 @@
+mysql.allow_persistent = On
+error_reporting = E_ALL & ~E_NOTICE
+display_errors = Off
+display_startup_errors = Off
+log_errors = On
+error_log = syslog
+track_errors = Off
+warn_plus_overloading = Off
+
+; added by stephdl
+log_errors_max_len = 1024
+ignore_repeated_errors = Off
+ignore_repeated_source = Off
+report_memleaks = On
+html_errors = On
+
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
--- 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
+++ 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
@@ -0,0 +1,20 @@
+mysql.allow_persistent = On
+variables_order = "EGPCS"
+register_globals = Off
+register_argc_argv = On
+post_max_size = {
+ my $ms = $php72{PostMaxSize} || "20M";
+ $OUT .= "$ms";
+}
+;gpc_order = "GPC" #deprecated
+;magic_quotes_gpc = Off #deprecated
+;magic_quotes_runtime = Off #deprecated
+;magic_quotes_sybase = Off #deprecated
+auto_prepend_file =
+auto_append_file =
+default_mimetype = "text/html"
+
+; added by stephdl
+variables_order = "EGPCS"
+request_order = "GP"
+auto_globals_jit = On
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
--- 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
+++ 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
@@ -0,0 +1,7 @@
+mysql.allow_persistent = On
+include_path = ".:/opt/remi/php72/root/usr/share/pear:/opt/remi/php72/root/usr/share/php:/usr/share/pear"
+doc_root =
+user_dir =
+extension_dir = /opt/remi/php72/root/usr/lib64/php/modules
+enable_dl = On
+
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
--- 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
+++ 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
@@ -0,0 +1,10 @@
+file_uploads = On
+upload_max_filesize = {
+ my $mf = $php72{UploadMaxFilesize} || "10M";
+ $OUT .= "$mf";
+}
+; added by stephdl see $php72{MaxFileUpload}
+max_file_upload = {
+ my $mfu = $php72{MaxFileUpload} || "20";
+ $OUT .= "$mfu";
+}
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
--- 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
+++ 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
@@ -0,0 +1,5 @@
+allow_url_fopen = {($php72{AllowUrlFopen} || 'Off')}
+;added by stephdl
+allow_url_include = Off
+default_socket_timeout = 60
+
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
--- 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
+++ 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
@@ -0,0 +1 @@
+date.timezone = "{$TimeZone}"
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
--- 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
+++ 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
@@ -0,0 +1,3 @@
+[Syslog]
+define_syslog_variables = Off
+
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
--- 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
+++ 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
@@ -0,0 +1,4 @@
+[mail function]
+SMTP = localhost
+sendmail_from = me@localhost.com
+
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
--- 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
+++ 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
@@ -0,0 +1,5 @@
+[Debugger]
+debugger.host = localhost
+debugger.port = 7869
+debugger.enabled = False
+
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
--- 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
+++ 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
@@ -0,0 +1,2 @@
+[Logging]
+
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
--- 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
+++ 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
@@ -0,0 +1,2 @@
+[Java]
+
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
--- 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
+++ 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
@@ -0,0 +1,3 @@
+[SQL]
+sql.safe_mode = Off
+
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
--- 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
+++ 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
@@ -0,0 +1,8 @@
+[ODBC]
+odbc.allow_persistent = On
+odbc.check_persistent = On
+odbc.max_persistent = -1
+odbc.max_links = -1
+odbc.defaultlrl = 4096
+odbc.defaultbinmode = 1
+
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
--- 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
+++ 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
@@ -0,0 +1,25 @@
+;added by stephdl
+[Pdo_mysql]
+pdo_mysql.cache_size = 2000
+pdo_mysql.default_socket=
+
+[MySQL]
+mysql.allow_persistent = On
+mysql.cache_size = 2000
+mysql.max_persistent = -1
+mysql.max_links = -1
+mysql.default_port =
+mysql.default_socket =
+mysql.default_host =
+mysql.default_user =
+mysql.default_password =
+;added by stephdl
+mysql.connect_timeout = 60
+mysql.trace_mode = Off
+
+;added by stephdl
+[mysqlnd]
+mysqlnd.collect_statistics = On
+mysqlnd.collect_memory_statistics = Off
+
+
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
--- 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
+++ 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
@@ -0,0 +1,5 @@
+[mSQL]
+msql.allow_persistent = On
+msql.max_persistent = -1
+msql.max_links = -1
+
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
--- 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
+++ 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
@@ -0,0 +1,5 @@
+[PostgresSQL]
+pgsql.allow_persistent = On
+pgsql.max_persistent = -1
+pgsql.max_links = -1
+
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
--- 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
+++ 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
@@ -0,0 +1,8 @@
+[Sybase]
+sybase.allow_persistent = On
+sybase.max_persistent = -1
+sybase.max_links = -1
+sybase.min_error_severity = 10
+sybase.min_message_severity = 10
+sybase.compatability_mode = Off
+
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
--- 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
+++ 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
@@ -0,0 +1,7 @@
+[Sybase-CT]
+sybct.allow_persistenT = On
+sybct.max_persistent = -1
+sybct.max_links = -1
+sybct.min_server_severity = 10
+sybct.min_client_severity = 10
+
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
--- 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
+++ 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
@@ -0,0 +1,3 @@
+[bcmath]
+bcmath.scale = 0
+
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
--- 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
+++ 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
@@ -0,0 +1,2 @@
+[browscap]
+
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
--- 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
+++ 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
@@ -0,0 +1,13 @@
+[Informix]
+ifx.default_host =
+ifx.default_useR =
+ifx.default_password =
+ifx.allow_persistent = On
+ifx.max_persistent = -1
+ifx.max_links = -1
+ifx.textasvarchar = 0
+ifx.byteasvarchar = 0
+ifx.charasvarchar = 0
+ifx.blobinfile = 0
+ifx.nullformat = 0
+
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
--- 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
+++ 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
@@ -0,0 +1,28 @@
+[Session]
+session.save_handler = files
+session.save_path = /var/opt/remi/php72/lib/php/session
+session.use_cookies = 1
+session.name = PHPSESSID
+session.auto_start = 0
+session.cookie_lifetime = 0
+session.cookie_path = /
+session.cookie_domain =
+session.serialize_handler = php
+session.gc_probability = 1
+session.gc_maxlifetime = 1440
+session.referer_check =
+session.entropy_length = 0
+session.entropy_file =
+session.cache_limiter = nocache
+session.cache_expire = 180
+session.use_trans_sid = 1
+url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
+
+;added by stephdl
+session.use_strict_mode = 0
+session.use_only_cookies = 1
+session.bug_compat_42 = Off
+session.bug_compat_warn = Off
+session.hash_function = 0
+session.hash_bits_per_character = 5
+
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
--- 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
+++ 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
@@ -0,0 +1,10 @@
+[MSSQL]
+mssql.allow_persistent = On
+mssql.max_persistent = -1
+mssql.max_links = -1
+mssql.min_error_severity = 10
+mssql.min_message_severity = 10
+mssql.compatability_mode = Off
+
+;added by stephdl
+mssql.secure_connection = Off
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
--- 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
+++ 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
@@ -0,0 +1,2 @@
+[Assertion]
+
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
--- 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
+++ 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
@@ -0,0 +1,8 @@
+[Ingres II]
+ingres.allow_persistent = On
+ingres.max_persistent = -1
+ingres.max_links = -1
+ingres.default_database =
+ingres.default_user =
+ingres.default_password =
+
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
--- 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
+++ 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
@@ -0,0 +1,5 @@
+[Verisign Payflow Pro]
+pfpro.defaulthost = "test.signio.com"
+pfpro.defaultport = 443
+pfpro.defaulttimeout = 30
+
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
--- 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
+++ 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
@@ -0,0 +1,3 @@
+[Sockets]
+sockets.use_system_read = On
+
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
--- 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
+++ 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
@@ -0,0 +1,9 @@
+;added by stephdl
+[Interbase]
+ibase.allow_persistent = 1
+ibase.max_persistent = -1
+ibase.max_links = -1
+ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
+ibase.dateformat = "%Y-%m-%d"
+ibase.timeformat = "%H:%M:%S"
+
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
--- 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
+++ 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
@@ -0,0 +1,13 @@
+;added by stephdl
+[MySQLi]
+mysqli.max_persistent = -1
+mysqli.allow_persistent = On
+mysqli.max_links = -1
+mysqli.cache_size = 2000
+mysqli.default_port = 3306
+mysqli.default_socket =
+mysqli.default_host =
+mysqli.default_user =
+mysqli.default_pw =
+mysqli.reconnect = Off
+
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
--- 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
+++ 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
@@ -0,0 +1,9 @@
+;added by stephdl
+[PostgreSQL]
+pgsql.allow_persistent = On
+pgsql.auto_reset_persistent = Off
+pgsql.max_persistent = -1
+pgsql.max_links = -1
+pgsql.ignore_notice = 0
+pgsql.log_notice = 0
+
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
--- 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
+++ 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
@@ -0,0 +1,3 @@
+;added by stephdl
+[Tidy]
+tidy.clean_output = Off
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
--- 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
+++ 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
@@ -0,0 +1,7 @@
+; added by stephdl
+[soap]
+soap.wsdl_cache_enabled=1
+soap.wsdl_cache_dir="/var/opt/remi/php72/lib/php/wsdlcache"
+soap.wsdl_cache_ttl=86400
+soap.wsdl_cache_limit = 5
+
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
--- 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
+++ 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
@@ -0,0 +1,3 @@
+;added by stephdl
+[ldap]
+ldap.max_links = -1
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
--- 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
+++ 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
@@ -0,0 +1,2 @@
+[ Server]
+cli_server.color = On
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
--- 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
+++ 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
@@ -0,0 +1,9 @@
+;------------------------------------------------------------
+; DO NOT MODIFY THIS FILE! It is updated automatically by the
+; SME Server software. Instead, modify the source template in
+; an /etc/e-smith/templates-custom directory. For more
+; information, see http://www.e-smith.org/custom/
+;
+; copyright (C) 2002 Mitel Networks Corporation
+;------------------------------------------------------------
+
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
--- 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
+++ 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
@@ -21,6 +21,9 @@
elsif (-r "/usr/lib64/httpd/modules/libphp71.so" && (($php71{PhpModule} || '') eq 'enabled')) {
$OUT .= "LoadModule php7_module modules/libphp71.so\n";
}
+ elsif (-r "/usr/lib64/httpd/modules/libphp72.so" && (($php72{PhpModule} || '') eq 'enabled')) {
+ $OUT .= "LoadModule php7_module modules/libphp72.so\n";
+ }
else {
$OUT .= "LoadModule php5_module modules/libphp5.so\n";
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
--- smeserver-php-scl-0.4.old/root/usr/bin/phpscl/php72_REMI 1969-12-31 19:00:00.000000000 -0500
+++ smeserver-php-scl-0.4/root/usr/bin/phpscl/php72_REMI 2017-04-28 13:08:51.320000000 -0400
@@ -0,0 +1,3 @@
+#!/bin/bash
+source /opt/remi/php72/enable
+exec php-cgi
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
--- 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
+++ smeserver-php-scl-0.4/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/phpscl.pm 2017-04-28 13:08:04.320000000 -0400
@@ -359,6 +359,7 @@
$configdb->set_prop('php56','PhpModule','disabled');
$configdb->set_prop('php70','PhpModule','disabled');
$configdb->set_prop('php71','PhpModule','disabled');
+ $configdb->set_prop('php72','PhpModule','disabled');
}
elsif ($version eq 'php54') {
$configdb->set_prop('php54','PhpModule','enabled');
@@ -366,6 +367,7 @@
$configdb->set_prop('php56','PhpModule','disabled');
$configdb->set_prop('php70','PhpModule','disabled');
$configdb->set_prop('php71','PhpModule','disabled');
+ $configdb->set_prop('php72','PhpModule','disabled');
}
elsif ($version eq 'php55') {
@@ -374,6 +376,7 @@
$configdb->set_prop('php56','PhpModule','disabled');
$configdb->set_prop('php70','PhpModule','disabled');
$configdb->set_prop('php71','PhpModule','disabled');
+ $configdb->set_prop('php72','PhpModule','disabled');
}
elsif ($version eq 'php56') {
@@ -382,6 +385,7 @@
$configdb->set_prop('php56','PhpModule','enabled');
$configdb->set_prop('php70','PhpModule','disabled');
$configdb->set_prop('php71','PhpModule','disabled');
+ $configdb->set_prop('php72','PhpModule','disabled');
}
elsif ($version eq 'php70') {
@@ -390,6 +394,7 @@
$configdb->set_prop('php56','PhpModule','disabled');
$configdb->set_prop('php70','PhpModule','enabled');
$configdb->set_prop('php71','PhpModule','disabled');
+ $configdb->set_prop('php72','PhpModule','disabled');
}
elsif ($version eq 'php71') {
@@ -398,8 +403,17 @@
$configdb->set_prop('php56','PhpModule','disabled');
$configdb->set_prop('php70','PhpModule','disabled');
$configdb->set_prop('php71','PhpModule','enabled');
+ $configdb->set_prop('php72','PhpModule','disabled');
}
+ elsif ($version eq 'php72') {
+ $configdb->set_prop('php54','PhpModule','disabled');
+ $configdb->set_prop('php55','PhpModule','disabled');
+ $configdb->set_prop('php56','PhpModule','disabled');
+ $configdb->set_prop('php70','PhpModule','disabled');
+ $configdb->set_prop('php71','PhpModule','disabled');
+ $configdb->set_prop('php72','PhpModule','enabled');
+ }
if (system ("/sbin/e-smith/signal-event", "php-update" )== 0)
{
$self->success("SUCCESSFULLY_MODIFIED_PHP");
@@ -419,8 +432,9 @@
my $php56 = $configdb->get_prop('php56','PhpModule')||'';
my $php70 = $configdb->get_prop('php70','PhpModule')||'';
my $php71 = $configdb->get_prop('php71','PhpModule')||'';
-
- if (($php54 && $php55 && $php56 && $php70 && $php71 ) eq 'disabled') {
+ my $php72 = $configdb->get_prop('php72','PhpModule')||'';
+
+ if (($php54 && $php55 && $php56 && $php70 && $php71 && $php72) eq 'disabled') {
$q->param(-name=>'phpmodversion',-value=>'default');
}
@@ -436,14 +463,18 @@
$q->param(-name=>'phpmodversion',-value=>'php56');
}
if ($php70 eq 'enabled') {
$q->param(-name=>'phpmodversion',-value=>'php70');
}
if ($php71 eq 'enabled') {
$q->param(-name=>'phpmodversion',-value=>'php71');
}
+
+ if ($php72 eq 'enabled') {
+ $q->param(-name=>'phpmodversion',-value=>'php72');
+ }
return undef;
}
1;
--- smeserver-php-scl-0.4.old/root/etc/e-smith/web/functions/phpscl 2015-02-22 11:17:15.000000000 -0500
+++ smeserver-php-scl-0.4/root/etc/e-smith/web/functions/phpscl 2017-05-03 16:47:46.666000000 -0400
@@ -112,7 +112,7 @@
DESC_PHPVERSION
-
+
@@ -129,7 +129,7 @@
DESC_PHPMODVERSION
-
+
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
--- 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
+++ 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
@@ -0,0 +1,2 @@
+TEMPLATE_PATH="/opt/remi/php72/root/etc/php.ini"
+OUTPUT_FILENAME="/etc/opt/remi/php72/php.ini"