diff -Nur smeserver-php-3.0.0.old/createlinks smeserver-php-3.0.0/createlinks --- smeserver-php-3.0.0.old/createlinks 2020-03-23 18:03:50.181000000 -0400 +++ smeserver-php-3.0.0/createlinks 2020-03-24 22:27:36.741000000 -0400 @@ -4,10 +4,21 @@ my $ver; my $service; my $file; my $event; #old e-smith-php -templates2events("/etc/php.ini", qw( +foreach $file (qw(/etc/php.ini +/opt/remi/php55/root/etc/php.ini +/opt/remi/php56/root/etc/php.ini +/etc/opt/remi/php70/php.ini +/etc/opt/remi/php71/php.ini +/etc/opt/remi/php72/php.ini +/etc/opt/remi/php73/php.ini +/etc/opt/remi/php74/php.ini)){ + templates2events($file, qw( console-save bootstrap-console-save + webapps-update + smeserver-php-update )); +} #new php-fpm foreach $service (qw(php-fpm)){ @@ -17,12 +28,14 @@ $event="smeserver-php-update"; safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/$service"); } -$event="smeserver-php-update"; -$service="httpd-e-smith"; -#when moved to systemd could become a reload-or-restart -safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/$service"); -$file="/etc/httpd/conf/httpd.conf"; -templates2events($file, qw(smeserver-php-update)); + +for $event (qw(smeserver-php-update webapps-update)){ + $service="httpd-e-smith"; + #when moved to systemd could become a reload-or-restart + safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/$service"); + $file="/etc/httpd/conf/httpd.conf"; + templates2events($file, $event); +} foreach $ver (qw( 55 56 70 71 72 73 74 )){ foreach $service ( "php$ver-php-fpm" ){ @@ -42,6 +55,8 @@ templates2events($file, qw(webapps-update bootstrap-console-save ibay-create ibay-delete ibay-modify ibay-modify-files ibay-modify-servers smeserver-php-update)); safe_symlink('/etc/e-smith/templates-default/template-begin-ini', "root/etc/e-smith/templates$file/template-begin"); } + safe_symlink('/etc/e-smith/templates-default/template-begin-ini', "root/etc/e-smith/templates/etc/php.ini/template-begin"); + foreach $file (qw( /etc/sysconfig/php-fpm /etc/logrotate.d/php-fpm )){ templates2events($file, qw(webapps-update bootstrap-console-save)); diff -Nur smeserver-php-3.0.0.old/root/etc/cron.daily/tmpwatch-php smeserver-php-3.0.0/root/etc/cron.daily/tmpwatch-php --- smeserver-php-3.0.0.old/root/etc/cron.daily/tmpwatch-php 2020-01-28 13:25:41.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/cron.daily/tmpwatch-php 2020-03-24 22:18:26.158000000 -0400 @@ -1,3 +1,2 @@ -[ -d /var/lib/php/session ] && /usr/sbin/tmpwatch -f 8 /var/lib/php/session +[ -d /var/lib/php ] && /usr/sbin/tmpwatch --nodirs -f 8 /var/lib/php [ -d /var/cache/e-smith/files/ibays ] && /usr/sbin/tmpwatch --nodirs -f 8 /var/cache/e-smith/files/ibays - diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php55/AllowUrlFopen smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php55/AllowUrlFopen --- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php55/AllowUrlFopen 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php55/AllowUrlFopen 2020-03-24 22:22:42.675000000 -0400 @@ -0,0 +1 @@ +Off diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php55/type smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php55/type --- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php55/type 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php55/type 2020-03-24 22:21:23.164000000 -0400 @@ -0,0 +1 @@ +configuration diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php55-php-fpm/status smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php55-php-fpm/status --- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php55-php-fpm/status 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php55-php-fpm/status 2017-07-27 12:05:00.000000000 -0400 @@ -0,0 +1 @@ +enabled diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php55-php-fpm/type smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php55-php-fpm/type --- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php55-php-fpm/type 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php55-php-fpm/type 2017-07-27 12:05:00.000000000 -0400 @@ -0,0 +1 @@ +service diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php56/AllowUrlFopen smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php56/AllowUrlFopen --- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php56/AllowUrlFopen 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php56/AllowUrlFopen 2020-03-24 22:23:00.025000000 -0400 @@ -0,0 +1 @@ +Off diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php56/type smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php56/type --- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php56/type 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php56/type 2020-03-24 22:21:58.975000000 -0400 @@ -0,0 +1 @@ +configuration diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php70/AllowUrlFopen smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php70/AllowUrlFopen --- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php70/AllowUrlFopen 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php70/AllowUrlFopen 2020-03-24 22:23:06.376000000 -0400 @@ -0,0 +1 @@ +Off diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php70/type smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php70/type --- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php70/type 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php70/type 2020-03-24 22:22:04.263000000 -0400 @@ -0,0 +1 @@ +configuration diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php71/AllowUrlFopen smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php71/AllowUrlFopen --- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php71/AllowUrlFopen 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php71/AllowUrlFopen 2020-03-24 22:23:09.535000000 -0400 @@ -0,0 +1 @@ +Off diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php71/type smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php71/type --- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php71/type 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php71/type 2020-03-24 22:22:07.214000000 -0400 @@ -0,0 +1 @@ +configuration diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php72/AllowUrlFopen smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php72/AllowUrlFopen --- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php72/AllowUrlFopen 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php72/AllowUrlFopen 2020-03-24 22:23:12.599000000 -0400 @@ -0,0 +1 @@ +Off diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php72/type smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php72/type --- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php72/type 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php72/type 2020-03-24 22:22:10.246000000 -0400 @@ -0,0 +1 @@ +configuration diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php72-php-fpm/status smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php72-php-fpm/status --- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php72-php-fpm/status 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php72-php-fpm/status 2017-07-27 12:05:00.000000000 -0400 @@ -0,0 +1 @@ +enabled diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php72-php-fpm/type smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php72-php-fpm/type --- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php72-php-fpm/type 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php72-php-fpm/type 2017-07-27 12:05:00.000000000 -0400 @@ -0,0 +1 @@ +service diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php73/AllowUrlFopen smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php73/AllowUrlFopen --- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php73/AllowUrlFopen 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php73/AllowUrlFopen 2020-03-24 22:23:15.863000000 -0400 @@ -0,0 +1 @@ +Off diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php73/type smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php73/type --- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php73/type 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php73/type 2020-03-24 22:22:15.517000000 -0400 @@ -0,0 +1 @@ +configuration diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php73-php-fpm/status smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php73-php-fpm/status --- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php73-php-fpm/status 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php73-php-fpm/status 2017-07-27 12:05:00.000000000 -0400 @@ -0,0 +1 @@ +enabled diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php73-php-fpm/type smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php73-php-fpm/type --- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php73-php-fpm/type 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php73-php-fpm/type 2017-07-27 12:05:00.000000000 -0400 @@ -0,0 +1 @@ +service diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php74/AllowUrlFopen smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php74/AllowUrlFopen --- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php74/AllowUrlFopen 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php74/AllowUrlFopen 2020-03-24 22:23:19.176000000 -0400 @@ -0,0 +1 @@ +Off diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php74/type smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php74/type --- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php74/type 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php74/type 2020-03-24 22:22:18.988000000 -0400 @@ -0,0 +1 @@ +configuration diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php74-php-fpm/status smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php74-php-fpm/status --- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php74-php-fpm/status 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php74-php-fpm/status 2017-07-27 12:05:00.000000000 -0400 @@ -0,0 +1 @@ +enabled diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php74-php-fpm/type smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php74-php-fpm/type --- smeserver-php-3.0.0.old/root/etc/e-smith/db/configuration/defaults/php74-php-fpm/type 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/db/configuration/defaults/php74-php-fpm/type 2017-07-27 12:05:00.000000000 -0400 @@ -0,0 +1 @@ +service diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/00PHP smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/00PHP --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/00PHP 2002-03-15 12:55:51.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/00PHP 2020-03-23 17:24:24.973999026 -0400 @@ -1 +1,7 @@ -[PHP] +[PHP]{ +use esmith::ConfigDB; +my $c = esmith::ConfigDB->open_ro || die "Couldn't open the configuration database\n"; +my $srv = ( $PHP_VERSION ne '') ? 'php' . $PHP_VERSION : 'php'; +our $phpcur = $c->get( $srv ); +$OUT .= ''; +} diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/10LanguageOptions smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/10LanguageOptions --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/10LanguageOptions 2020-01-28 13:25:41.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/10LanguageOptions 2020-03-24 11:46:15.294489640 -0400 @@ -2,13 +2,20 @@ # Language Options ; #;;;;;;;;;;;;;;;;;;;} engine = On -short_open_tag = On; +short_open_tag = { + my $short = $phpcur->prop(ShortOpenTag) || $php{ShortOpenTag} || "On"; + $OUT .= "$short"; +} asp_tags = Off precision = 14 -y2k_compliance = Off -output_buffering = Off +output_buffering = 4096 output_handler = +zlib.output_compression = Off implicit_flush = Off +unserialize_callback_func = +serialize_precision = 17 +disable_functions = +disable_classes = safe_mode = Off safe_mode_exec_dir = safe_mode_allowed_env_vars = PHP_ @@ -20,3 +27,15 @@ highlight.bg = #FFFFFF highlight.default = #0000BB highlight.html = #000000 +zend.enable_gc = On +{ +return "" if $PHP_VERSION eq ""; +if ( $PHP_VERSION >= 70) + { +$OUT .="zend.assertions = -1\n"; + } +if ( $PHP_VERSION >= 74) + { +$OUT .="zend.exception_ignore_args = On-1\n"; + } +} diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/15ExposePHP smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/15ExposePHP --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/15ExposePHP 2013-02-13 18:00:40.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/15ExposePHP 2020-03-23 16:34:27.882950373 -0400 @@ -1,5 +1,5 @@ ; Default expose_php to Off for security reasons expose_php = { - my $ep = $php{ExposePHP} || "Off"; + my $ep = $phpcur->prop(ExposePHP) || $php{ExposePHP} || "Off"; $OUT .= "$ep"; } diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/20ResourceLimits smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/20ResourceLimits --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/20ResourceLimits 2008-10-07 13:36:44.000000000 -0400 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/20ResourceLimits 2020-03-23 16:39:47.185652464 -0400 @@ -1,8 +1,12 @@ max_execution_time = { - my $et = $php{MaxExecutionTime} || "30"; + my $et = $phpcur->prop(MaxExecutionTime) || $php{MaxExecutionTime} || "30"; $OUT .= "$et"; } +max_input_time = { + my $it = $phpcur->prop(MaxInputTime) || $php{MaxInputTime} || "60"; + $OUT .= "$it"; +} memory_limit = { - my $ml = $php{MemoryLimit} || "32M"; + my $ml = $phpcur->prop(MemoryLimit) || $php{MemoryLimit} || "128M"; $OUT .= "$ml"; } diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/30ErrorHandling smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/30ErrorHandling --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/30ErrorHandling 2008-10-07 13:36:44.000000000 -0400 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/30ErrorHandling 2020-03-22 16:25:35.860465643 -0400 @@ -1,8 +1,11 @@ -mysql.allow_persistent = On -error_reporting = E_ALL & ~E_NOTICE +error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT display_errors = Off display_startup_errors = Off log_errors = On -error_log = syslog +log_errors_max_len = 1024 +ignore_repeated_errors = Off +ignore_repeated_source = Off +report_memleaks = On track_errors = Off -warn_plus_overloading = Off +html_errors = On +error_log = syslog diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/40DataHandling smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/40DataHandling --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/40DataHandling 2016-02-05 17:10:39.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/40DataHandling 2020-03-23 16:40:28.628780162 -0400 @@ -1,15 +1,12 @@ -mysql.allow_persistent = On variables_order = "EGPCS" -register_globals = Off +request_order = "GP" register_argc_argv = On +auto_globals_jit = On post_max_size = { - my $ms = $php{PostMaxSize} || "20M"; + my $ms = $phpcur->prop(PostMaxSize) || $php{PostMaxSize} || "20M"; $OUT .= "$ms"; } -magic_quotes_gpc = Off -magic_quotes_runtime = Off -magic_quotes_sybase = Off auto_prepend_file = auto_append_file = default_mimetype = "text/html" - +default_charset = "UTF-8" diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/50PathsDirectories smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/50PathsDirectories --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/50PathsDirectories 2020-01-28 14:27:28.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/50PathsDirectories 2020-03-23 17:25:33.095814345 -0400 @@ -1,8 +1,8 @@ -mysql.allow_persistent = On -include_path = ".:/usr/share/pear-addons:/usr/share/pear" +include_path = {($phpcur->prop(IncludePath)||$php{IncludePath}||$INCLUDE_PATH)} doc_root = user_dir = -extension_dir = { return "/usr/lib64/php/modules" if -d "/usr/lib64/php/modules"; +extension_dir = { return "$EXTENSION_DIR" if ("$EXTENSION_DIR" ne "" && -d "$EXTENSION_DIR"); + return "/usr/lib64/php/modules" if -d "/usr/lib64/php/modules"; return "/usr/lib/php/modules" if -d "/usr/lib/php/modules"; return "/usr/lib/php"; } enable_dl = On diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/60FileUploads smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/60FileUploads --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/60FileUploads 2008-10-07 13:36:44.000000000 -0400 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/60FileUploads 2020-03-23 17:28:54.593184492 -0400 @@ -1,5 +1,10 @@ file_uploads = On upload_max_filesize = { - my $mf = $php{UploadMaxFilesize} || "10M"; + my $mf = $phpcur->prop(UploadMaxFilesize) || $php{UploadMaxFilesize} || "10M"; $OUT .= "$mf"; } +upload_tmp_dir = {"var/lib/php/php$PHP_VERSION/tmp"} +max_file_uploads = { + my $mfu = $phpcur->prop(MaxFileUpload) || $php{MaxFileUpload} || "20"; + $OUT .= "$mfu"; +} diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/65FopenWrappers smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/65FopenWrappers --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/65FopenWrappers 2008-10-07 13:36:44.000000000 -0400 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/65FopenWrappers 2020-03-24 11:34:39.351105788 -0400 @@ -1,3 +1,3 @@ -{ - return "allow_url_fopen = $php{AllowUrlFopen}\n"; -} +allow_url_fopen = {($phpcur->prop(AllowUrlFopen) || $php{AllowUrlFopen} || 'Off')} +allow_url_include = Off +default_socket_timeout = 60 diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/70TimeZone smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/70TimeZone --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/70TimeZone 2013-02-13 18:00:40.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/70TimeZone 2020-03-24 11:35:09.004891956 -0400 @@ -1 +1,2 @@ -date.timezone = "{$TimeZone}" +date.timezone = "{$TimeZone}" + diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings01Cli smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings01Cli --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings01Cli 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings01Cli 2020-03-23 15:38:51.014160935 -0400 @@ -0,0 +1,3 @@ +[ Server] +cli_server.color = On + diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings02mailfunction smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings02mailfunction --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings02mailfunction 2008-10-07 13:36:44.000000000 -0400 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings02mailfunction 2020-03-23 16:51:56.933483699 -0400 @@ -1,4 +1,12 @@ [mail function] SMTP = localhost -sendmail_from = me@localhost.com +smtp_port = {($qpsmtpd{TCPPort} || '25')} +sendmail_from = root@{$DomainName} +sendmail_path = {($phpcur->prop(SendmailPath) || $php{"SendmailPath"} || '/usr/sbin/sendmail -t -i')} +mail.log = { + my $mailog = $phpcur->prop(MailLog) || $php{"MailLog"} || "disabled"; + my $mlog = ($mailog eq "enabled")? "/var/log/php/php$PHP_VERSION/mail.log" : ""; + $OUT .= "$mlog"; +} +mail.add_x_header = On diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings03Debugger smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings03Debugger --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings03Debugger 2008-10-07 13:36:44.000000000 -0400 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings03Debugger 1969-12-31 19:00:00.000000000 -0500 @@ -1,5 +0,0 @@ -[Debugger] -debugger.host = localhost -debugger.port = 7869 -debugger.enabled = False - diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings04Logging smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings04Logging --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings04Logging 2008-10-07 13:36:44.000000000 -0400 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings04Logging 1969-12-31 19:00:00.000000000 -0500 @@ -1,2 +0,0 @@ -[Logging] - diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings04PCRE smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings04PCRE --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings04PCRE 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings04PCRE 2020-03-24 11:44:36.591926438 -0400 @@ -0,0 +1,8 @@ +[Pcre] +{ +return "" if $PHP_VERSION eq ""; +if ( $PHP_VERSION >= 70) + { +$OUT .="pcre.jit = Off\n"; + } +} diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings05Java smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings05Java --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings05Java 2008-10-07 13:36:44.000000000 -0400 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings05Java 1969-12-31 19:00:00.000000000 -0500 @@ -1,2 +0,0 @@ -[Java] - diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings05Pdo smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings05Pdo --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings05Pdo 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings05Pdo 2020-03-22 17:29:10.382484246 -0400 @@ -0,0 +1,4 @@ +[Pdo_mysql] +pdo_mysql.cache_size = 2000 +pdo_mysql.default_socket = + diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings07Interbase smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings07Interbase --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings07Interbase 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings07Interbase 2020-03-24 11:38:32.311282157 -0400 @@ -0,0 +1,8 @@ +[Interbase] +ibase.allow_persistent = On +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-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings08MySQL smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings08MySQL --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings08MySQL 2008-10-07 13:36:44.000000000 -0400 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings08MySQL 2020-03-23 17:22:08.613365595 -0400 @@ -1,5 +1,7 @@ [MySQL] +mysql.allow_local_infile = On mysql.allow_persistent = On +mysql.cache_size = 2000 mysql.max_persistent = -1 mysql.max_links = -1 mysql.default_port = @@ -7,4 +9,6 @@ mysql.default_host = mysql.default_user = mysql.default_password = +mysql.connect_timeout = 60 +mysql.trace_mode = Off diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings08MySQLi smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings08MySQLi --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings08MySQLi 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings08MySQLi 2020-03-22 17:22:26.176705616 -0400 @@ -0,0 +1,11 @@ +[MySQLi] +mysqli.allow_persistent = On +mysqli.cache_size = 2000 +mysqli.max_persistent = -1 +mysqli.max_links = -1 +mysqli.default_port = +mysqli.default_socket = +mysqli.default_host = +mysqli.default_user = +mysqli.default_pw = +mysqli.reconnect = Off diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings08MySQLnd smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings08MySQLnd --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings08MySQLnd 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings08MySQLnd 2020-03-23 15:42:42.549255098 -0400 @@ -0,0 +1,4 @@ +[mysqlnd] +mysqlnd.collect_statistics = On +mysqlnd.collect_memory_statistics = Off + diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings10PostgresSQL smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings10PostgresSQL --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings10PostgresSQL 2008-10-07 13:36:44.000000000 -0400 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings10PostgresSQL 2020-03-24 11:39:52.942420023 -0400 @@ -1,5 +1,8 @@ [PostgresSQL] pgsql.allow_persistent = On +pgsql.auto_reset_persistent = Off pgsql.max_persistent = -1 pgsql.max_links = -1 +pgsql.ignore_notice = Off +pgsql.log_notice = Off diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings12Sybase-CT smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings12Sybase-CT --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings12Sybase-CT 2008-10-07 13:36:44.000000000 -0400 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings12Sybase-CT 2020-03-22 17:44:08.000304348 -0400 @@ -1,5 +1,5 @@ [Sybase-CT] -sybct.allow_persistenT = On +sybct.allow_persistent = On sybct.max_persistent = -1 sybct.max_links = -1 sybct.min_server_severity = 10 diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings15Informix smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings15Informix --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings15Informix 2008-10-07 13:36:44.000000000 -0400 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings15Informix 1969-12-31 19:00:00.000000000 -0500 @@ -1,13 +0,0 @@ -[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-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings16Session smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings16Session --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings16Session 2020-01-28 13:25:41.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings16Session 2020-03-24 11:42:35.156721175 -0400 @@ -1,20 +1,49 @@ [Session] session.save_handler = files -session.save_path = /var/lib/php/session -session.use_cookies = 1 +session.save_path = {"/var/lib/php/php$PHP_VERSION/session"} +session.use_cookies = On +session.use_only_cookies = On session.name = PHPSESSID -session.auto_start = 0 +session.auto_start = Off session.cookie_lifetime = 0 session.cookie_path = / session.cookie_domain = +session.cookie_httponly = session.serialize_handler = php session.gc_probability = 1 +session.gc_divisor = 1000 session.gc_maxlifetime = 1440 +session.bug_compat_42 = Off +session.bug_compat_warn = Off session.referer_check = session.entropy_length = 0 session.entropy_file = session.cache_limiter = nocache session.cache_expire = 180 -session.use_trans_sid = 1 +session.use_trans_sid = On url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry" - +{ +return "" if $PHP_VERSION eq ""; +if ( $PHP_VERSION >= 55) + { + $OUT .= "session.use_strict_mode = Off\n"; + $OUT .= "sys_temp_dir = /var/lib/php/php$PHP_VERSION/tmp\n"; + } +if ( $PHP_VERSION < 71) + { + $OUT .= "session.hash_bits_per_character = 5 +session.hash_function = 0 +session.entropy_file = +session.entropy_length = 0\n"; + } +if ( $PHP_VERSION >= 71) + { + $OUT .= "session.sid_bits_per_character = 4 +session.sid_length = 32 +session.trans_sid_tags = \"a=href,area=href,frame=src,form=\"\n"; + } +if ( $PHP_VERSION >= 73) + { + $OUT .= "session.cookie_samesite = \"Strict\"\n"; + } +} diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings17MSSQL smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings17MSSQL --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings17MSSQL 2008-10-07 13:36:44.000000000 -0400 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings17MSSQL 2020-03-22 18:15:35.397604541 -0400 @@ -5,4 +5,5 @@ mssql.min_error_severity = 10 mssql.min_message_severity = 10 mssql.compatability_mode = Off +mssql.secure_connection = Off diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings20VerisignPayflowPro smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings20VerisignPayflowPro --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings20VerisignPayflowPro 2008-10-07 13:36:44.000000000 -0400 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings20VerisignPayflowPro 1969-12-31 19:00:00.000000000 -0500 @@ -1,5 +0,0 @@ -[Verisign Payflow Pro] -pfpro.defaulthost = "test.signio.com" -pfpro.defaultport = 443 -pfpro.defaulttimeout = 30 - diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings22Tidy smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings22Tidy --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings22Tidy 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings22Tidy 2020-03-23 17:21:55.758023077 -0400 @@ -0,0 +1,3 @@ +[Tidy] +tidy.clean_output = Off + diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings23Soap smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings23Soap --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings23Soap 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings23Soap 2020-03-24 11:43:15.568792752 -0400 @@ -0,0 +1,6 @@ +[soap] +soap.wsdl_cache_enabled = On +soap.wsdl_cache_dir = {"/var/lib/php/php$PHP_VERSION/wsdlcache"} +soap.wsdl_cache_ttl = 86400 +soap.wsdl_cache_limit = 5 + diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings24Ldap smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings24Ldap --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings24Ldap 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings24Ldap 2020-03-22 18:26:33.304177354 -0400 @@ -0,0 +1,3 @@ +[ldap] +ldap.max_links = -1 + diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/template-begin smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/template-begin --- smeserver-php-3.0.0.old/root/etc/e-smith/templates/etc/php.ini/template-begin 2002-03-15 12:55:51.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/templates/etc/php.ini/template-begin 1969-12-31 19:00:00.000000000 -0500 @@ -1,9 +0,0 @@ -;------------------------------------------------------------ -; 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-3.0.0.old/root/etc/e-smith/templates.metadata/etc/opt/remi/php70/php.ini smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/etc/opt/remi/php70/php.ini --- smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/etc/opt/remi/php70/php.ini 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/etc/opt/remi/php70/php.ini 2020-03-23 17:44:10.448603730 -0400 @@ -0,0 +1,2 @@ +TEMPLATE_PATH="/etc/php.ini" +MORE_DATA={ PHP_VERSION => 70, INCLUDE_PATH => ".:/opt/remi/php70/root/usr/share/pear:/opt/remi/php70/root/usr/share/php:/usr/share/php:/usr/share/pear", EXTENSION_DIR => "/opt/remi/php70/root/usr/lib64/php/modules" } diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/etc/opt/remi/php71/php.ini smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/etc/opt/remi/php71/php.ini --- smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/etc/opt/remi/php71/php.ini 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/etc/opt/remi/php71/php.ini 2020-03-23 17:44:21.798906458 -0400 @@ -0,0 +1,2 @@ +TEMPLATE_PATH="/etc/php.ini" +MORE_DATA={ PHP_VERSION => 71, INCLUDE_PATH => ".:/opt/remi/php70/root/usr/share/pear:/opt/remi/php71/root/usr/share/php:/usr/share/php:/usr/share/pear", EXTENSION_DIR => "/opt/remi/php71/root/usr/lib64/php/modules" } diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/etc/opt/remi/php72/php.ini smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/etc/opt/remi/php72/php.ini --- smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/etc/opt/remi/php72/php.ini 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/etc/opt/remi/php72/php.ini 2020-03-23 17:44:34.605248024 -0400 @@ -0,0 +1,3 @@ +TEMPLATE_PATH="/etc/php.ini" +MORE_DATA={ PHP_VERSION => 72, INCLUDE_PATH => ".:/opt/remi/php72/root/usr/share/pear:/opt/remi/php72/root/usr/share/php:/usr/share/php:/usr/share/pear", EXTENSION_DIR => "/opt/remi/php72/root/usr/lib64/php/modules" } + diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/etc/opt/remi/php73/php.ini smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/etc/opt/remi/php73/php.ini --- smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/etc/opt/remi/php73/php.ini 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/etc/opt/remi/php73/php.ini 2020-03-23 17:44:55.811813647 -0400 @@ -0,0 +1,2 @@ +TEMPLATE_PATH="/etc/php.ini" +MORE_DATA={ PHP_VERSION => 73, INCLUDE_PATH => ".:/opt/remi/php73/root/usr/share/pear:/opt/remi/php73/root/usr/share/php:/usr/share/php:/usr/share/pear", EXTENSION_DIR => "/opt/remi/php73/root/usr/lib64/php/modules" } diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/etc/opt/remi/php74/php.ini smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/etc/opt/remi/php74/php.ini --- smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/etc/opt/remi/php74/php.ini 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/etc/opt/remi/php74/php.ini 2020-03-23 17:45:21.624502133 -0400 @@ -0,0 +1,2 @@ +TEMPLATE_PATH="/etc/php.ini" +MORE_DATA={ PHP_VERSION => 74, INCLUDE_PATH => ".:/opt/remi/php74/root/usr/share/pear:/opt/remi/php74/root/usr/share/php:/usr/share/php:/usr/share/pear", EXTENSION_DIR => "/opt/remi/php74/root/usr/lib64/php/modules" } diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/etc/php.ini smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/etc/php.ini --- smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/etc/php.ini 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/etc/php.ini 2020-03-23 17:05:39.708789690 -0400 @@ -0,0 +1,2 @@ +TEMPLATE_PATH="/etc/php.ini" +MORE_DATA={ PHP_VERSION => '', INCLUDE_PATH => ".:/usr/share/php:/usr/share/pear", EXTENSION_DIR => "" } diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/opt/remi/php55/root/etc/php.ini smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/opt/remi/php55/root/etc/php.ini --- smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/opt/remi/php55/root/etc/php.ini 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/opt/remi/php55/root/etc/php.ini 2020-03-23 17:36:03.739624670 -0400 @@ -0,0 +1,2 @@ +TEMPLATE_PATH="/etc/php.ini" +MORE_DATA={ PHP_VERSION => 55, INCLUDE_PATH => ".:/opt/remi/php55/root/usr/share/pear:/opt/remi/php55/root/usr/share/php:/usr/share/php:/usr/share/pear", EXTENSION_DIR => "/opt/remi/php55/root/usr/lib64/php/modules" } diff -Nur smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/opt/remi/php56/root/etc/php.ini smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/opt/remi/php56/root/etc/php.ini --- smeserver-php-3.0.0.old/root/etc/e-smith/templates.metadata/opt/remi/php56/root/etc/php.ini 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-php-3.0.0/root/etc/e-smith/templates.metadata/opt/remi/php56/root/etc/php.ini 2020-03-23 17:41:18.738024226 -0400 @@ -0,0 +1,2 @@ +TEMPLATE_PATH="/etc/php.ini" +MORE_DATA={ PHP_VERSION => 56, INCLUDE_PATH => ".:/opt/remi/php56/root/usr/share/pear:/opt/remi/php56/root/usr/share/php:/usr/share/php:/usr/share/pear", EXTENSION_DIR => "/opt/remi/php56/root/usr/lib64/php/modules" }