diff --git a/ct/snipeit.sh b/ct/snipeit.sh index 644d15dc17..b22a74fe7a 100644 --- a/ct/snipeit.sh +++ b/ct/snipeit.sh @@ -40,6 +40,7 @@ function update_script() { 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 + sed -i 's/php8.2/php8.3/g' /etc/nginx/conf.d/snipeit.conf setup_composer msg_info "Updating ${APP} to v${RELEASE}" diff --git a/install/snipeit-install.sh b/install/snipeit-install.sh index b2d2bb41f1..102bb58441 100644 --- a/install/snipeit-install.sh +++ b/install/snipeit-install.sh @@ -71,7 +71,7 @@ server { location ~ \.php\$ { include fastcgi.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_param SCRIPT_FILENAME \$document_root\$fastcgi_script_name; include fastcgi_params;