CT: Heimdall and Nextcloud: fixed php version in configs
This commit is contained in:
@@ -37,7 +37,7 @@ http {
|
||||
}
|
||||
location ~ \.php$ {
|
||||
include fastcgi_params;
|
||||
fastcgi_pass unix:/run/php-fpm8/php-fpm.sock;
|
||||
fastcgi_pass unix:/run/php-fpm81/php-fpm.sock;
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[heimdall]
|
||||
user = nginx
|
||||
group = nginx
|
||||
listen = /run/php-fpm8/php-fpm.sock
|
||||
listen = /run/php-fpm81/php-fpm.sock
|
||||
listen.owner = nginx
|
||||
listen.group = nginx
|
||||
php_admin_value[disable_functions] = exec,passthru,system
|
||||
@@ -27,7 +27,7 @@ php_admin_value[max_input_time] = 15
|
||||
php_admin_value[cgi.fix_pathinfo] = 0
|
||||
php_admin_value[allow_url_fopen] = 1
|
||||
php_admin_value[file_uploads] = On
|
||||
php_admin_value[open_basedir] = /opt/heimdall:/run/php-fpm8/php-fpm.sock:/tmp
|
||||
php_admin_value[open_basedir] = /opt/heimdall:/run/php-fpm81/php-fpm.sock:/tmp
|
||||
php_admin_value[session.use_strict_mode] = 1
|
||||
php_admin_value[session.cookie_httponly] = 1
|
||||
|
||||
|
||||
@@ -15,4 +15,4 @@ chown -R nginx:nginx /opt/heimdall
|
||||
|
||||
#Enable services on boot
|
||||
rc-update add nginx
|
||||
rc-update add php-fpm8
|
||||
rc-update add php-fpm81
|
||||
Reference in New Issue
Block a user