support php8.2

This commit is contained in:
逆天西瓜
2022-12-12 16:39:21 +08:00
parent 1df09d5fd2
commit fa4e60bd34
4 changed files with 1966 additions and 3 deletions

View File

@ -218,7 +218,11 @@ RUN if [ ${INSTALL_XDEBUG} = true ]; then \
# Install the xdebug extension
# https://xdebug.org/docs/compat
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ] || { [ $(php -r "echo PHP_MAJOR_VERSION;") = "7" ] && { [ $(php -r "echo PHP_MINOR_VERSION;") = "4" ] || [ $(php -r "echo PHP_MINOR_VERSION;") = "3" ] ;} ;}; then \
pecl install xdebug-3.1.4; \
if [${LARADOCK_PHP_VERSION} = "8.2"]; then \
pecl install xdebug-3.2.0; \
else \
pecl install xdebug-3.1.4; \
fi \
else \
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
pecl install xdebug-2.5.5; \

1955
php-fpm/php8.2.ini Normal file

File diff suppressed because it is too large Load Diff