@@ -19,14 +19,20 @@ if [ -z "$PHP_BIN" ]; then
1919 PHP_BIN=$( command -v php8 || true)
2020fi
2121if [ -z " $PHP_BIN " ]; then
22- PHP_BIN=$( command -v php81 || true)
22+ PHP_BIN=$( command -v php85 || true)
2323fi
2424if [ -z " $PHP_BIN " ]; then
25- PHP_BIN=$( command -v php82 || true)
25+ PHP_BIN=$( command -v php84 || true)
2626fi
2727if [ -z " $PHP_BIN " ]; then
2828 PHP_BIN=$( command -v php83 || true)
2929fi
30+ if [ -z " $PHP_BIN " ]; then
31+ PHP_BIN=$( command -v php82 || true)
32+ fi
33+ if [ -z " $PHP_BIN " ]; then
34+ PHP_BIN=$( command -v php81 || true)
35+ fi
3036if [ -z " $PHP_BIN " ]; then
3137 PHP_BIN=$( command -v php7 || true)
3238fi
@@ -52,6 +58,12 @@ cp $(pwd)/dockerfiles/verify_packages/nginx.conf /etc/nginx/nginx.conf
5258if [ -z " $PHP_FPM_BIN " ]; then
5359 PHP_FPM_BIN=$( command -v php-fpm || true)
5460fi
61+ if [ -z " $PHP_FPM_BIN " ]; then
62+ PHP_FPM_BIN=$( command -v php-fpm85 || true)
63+ fi
64+ if [ -z " $PHP_FPM_BIN " ]; then
65+ PHP_FPM_BIN=$( command -v php-fpm84 || true)
66+ fi
5567if [ -z " $PHP_FPM_BIN " ]; then
5668 PHP_FPM_BIN=$( command -v php-fpm83 || true)
5769fi
@@ -75,6 +87,14 @@ WWW_CONF=/etc/php/php-fpm.d/www.conf
7587if [ ! -f " ${WWW_CONF} " ]; then
7688 WWW_CONF=/usr/local/etc/php-fpm.d/www.conf
7789fi
90+ if [ ! -f " ${WWW_CONF} " ]; then
91+ # Alpine 3.22+
92+ WWW_CONF=/etc/php85/php-fpm.d/www.conf
93+ fi
94+ if [ ! -f " ${WWW_CONF} " ]; then
95+ # Alpine 3.21
96+ WWW_CONF=/etc/php84/php-fpm.d/www.conf
97+ fi
7898if [ ! -f " ${WWW_CONF} " ]; then
7999 # Alpine 3.20
80100 WWW_CONF=/etc/php83/php-fpm.d/www.conf
0 commit comments