Switch default version to php8.0
This commit is contained in:
@ -77,7 +77,7 @@ server {
|
||||
include snippets/fastcgi-php.conf;
|
||||
fastcgi_param DOCUMENT_ROOT /html;
|
||||
fastcgi_param SCRIPT_FILENAME /html$fastcgi_script_name;
|
||||
fastcgi_pass unix:/var/run/php/7.4-hosting;
|
||||
fastcgi_pass unix:/var/run/php/8.0-hosting;
|
||||
}
|
||||
}
|
||||
location /squirrelmail {
|
||||
@ -622,7 +622,7 @@ function rewrite_nginx_config(){
|
||||
fastcgi_param MAIL_USER $tmp[system_account];
|
||||
fastcgi_param DOCUMENT_ROOT /var/www/mail;
|
||||
fastcgi_param SCRIPT_FILENAME /var/www/mail\$fastcgi_script_name;
|
||||
fastcgi_pass unix:/var/run/php/7.4-mail;
|
||||
fastcgi_pass unix:/var/run/php/8.0-mail;
|
||||
}
|
||||
}
|
||||
";
|
||||
|
Reference in New Issue
Block a user