127 |
cd /usr/share/nextcloud |
cd /usr/share/nextcloud |
128 |
-sudo -u www -s /usr/bin/php71 --define memory_limit=512M occ $@ |
-sudo -u www -s /usr/bin/php71 --define memory_limit=512M occ $@ |
129 |
+sudo -u www -s /usr/bin/php72 --define memory_limit=512M occ $@ |
+sudo -u www -s /usr/bin/php72 --define memory_limit=512M occ $@ |
130 |
|
diff -Nur smeserver-nextcloud-1.1.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98nextcloud smeserver-nextcloud-1.1.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98nextcloud |
131 |
|
--- smeserver-nextcloud-1.1.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98nextcloud 2020-01-27 12:33:15.367000000 -0500 |
132 |
|
+++ smeserver-nextcloud-1.1.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98nextcloud 2020-01-27 12:37:47.067000000 -0500 |
133 |
|
@@ -48,7 +48,7 @@ |
134 |
|
elsif ($fascgi_mod eq 'mod_proxy_fcgi'){ |
135 |
|
$php =<<'_EOF'; |
136 |
|
<FilesMatch \.php$> |
137 |
|
- SetHannextclouder "proxy:unix:/var/run/php-fpm/php72-nextcloud.sock|fcgi://localhost" |
138 |
|
+ SetHandler "proxy:unix:/var/run/php-fpm/php72-nextcloud.sock|fcgi://localhost" |
139 |
|
</FilesMatch> |
140 |
|
_EOF |
141 |
|
} |
142 |
|
diff -Nur smeserver-nextcloud-1.1.0.old/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15Nextcloud smeserver-nextcloud-1.1.0/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15Nextcloud |
143 |
|
--- smeserver-nextcloud-1.1.0.old/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15Nextcloud 2020-01-27 12:33:15.368000000 -0500 |
144 |
|
+++ smeserver-nextcloud-1.1.0/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15Nextcloud 2020-01-27 12:49:29.494000000 -0500 |
145 |
|
@@ -36,7 +36,7 @@ |
146 |
|
php_admin_value[max_execution_time] = 3600 |
147 |
|
php_admin_value[post_max_size] = $max_upload_size |
148 |
|
php_admin_value[upload_max_filesize] = $max_upload_size |
149 |
|
-php_admin_value[disable_functions] = system, show_source, symlink, exec, nextcloud, shell_exec, passthru, phpinfo, escapeshellarg, escapeshellcmd |
150 |
|
+php_admin_value[disable_functions] = system, show_source, symlink, exec, dl, shell_exec, passthru, phpinfo, escapeshellarg, escapeshellcmd |
151 |
|
php_admin_value[open_basedir] = /usr/share/nextcloud:/var/lib/nextcloud:/var/log/nextcloud.log:/var/lib/php/nextcloud:/home/e-smith/files/nextcloud:/dev/urandom:/proc/meminfo |
152 |
|
php_admin_flag[allow_url_fopen] = on |
153 |
|
php_admin_flag[file_upload] = on |