Update php config to 8.3 (#7171)
This commit is contained in:
parent
0d36d64454
commit
e84ea56a8f
@ -40,6 +40,7 @@ function update_script() {
|
|||||||
|
|
||||||
fetch_and_deploy_gh_release "snipe-it" "snipe/snipe-it" "tarball"
|
fetch_and_deploy_gh_release "snipe-it" "snipe/snipe-it" "tarball"
|
||||||
[[ "$(php -v 2>/dev/null)" == PHP\ 8.2* ]] && PHP_VERSION="8.3" PHP_MODULE="common,ctype,ldap,fileinfo,iconv,mysql,soap,xsl" PHP_FPM="YES" setup_php
|
[[ "$(php -v 2>/dev/null)" == PHP\ 8.2* ]] && PHP_VERSION="8.3" PHP_MODULE="common,ctype,ldap,fileinfo,iconv,mysql,soap,xsl" PHP_FPM="YES" setup_php
|
||||||
|
sed -i 's/php8.2/php8.3/g' /etc/nginx/conf.d/snipeit.conf
|
||||||
setup_composer
|
setup_composer
|
||||||
|
|
||||||
msg_info "Updating ${APP} to v${RELEASE}"
|
msg_info "Updating ${APP} to v${RELEASE}"
|
||||||
|
@ -71,7 +71,7 @@ server {
|
|||||||
location ~ \.php\$ {
|
location ~ \.php\$ {
|
||||||
include fastcgi.conf;
|
include fastcgi.conf;
|
||||||
include snippets/fastcgi-php.conf;
|
include snippets/fastcgi-php.conf;
|
||||||
fastcgi_pass unix:/run/php/php8.2-fpm.sock;
|
fastcgi_pass unix:/run/php/php8.3-fpm.sock;
|
||||||
fastcgi_split_path_info ^(.+\.php)(/.+)\$;
|
fastcgi_split_path_info ^(.+\.php)(/.+)\$;
|
||||||
fastcgi_param SCRIPT_FILENAME \$document_root\$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME \$document_root\$fastcgi_script_name;
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user