This commit is contained in:
@@ -21,17 +21,22 @@ find "${WEBROOT}" -type f -exec chmod 0644 {} \;
|
||||
case "${PHP}" in
|
||||
"php84")
|
||||
cp /app/nginx/php84.conf /etc/nginx/custom.d/
|
||||
cp /app/nginx/default_php.conf /etc/nginx/http.d/default.conf
|
||||
/usr/sbin/php-fpm84 -D
|
||||
;;
|
||||
"php83")
|
||||
cp /app/nginx/php83.conf /etc/nginx/custom.d/
|
||||
cp /app/nginx/default_php.conf /etc/nginx/http.d/default.conf
|
||||
/usr/sbin/php-fpm83 -D
|
||||
;;
|
||||
"php82")
|
||||
cp /app/nginx/php82.conf /etc/nginx/custom.d/
|
||||
cp /app/nginx/default_php.conf /etc/nginx/http.d/default.conf
|
||||
/usr/sbin/php-fpm82 -D
|
||||
;;
|
||||
*) ;;
|
||||
*)
|
||||
cp /app/nginx/default_nophp.conf /etc/nginx/http.d/default.conf
|
||||
;;
|
||||
esac
|
||||
|
||||
# start ssh
|
||||
|
||||
Reference in New Issue
Block a user