support php8.2
This commit is contained in:
parent
1df09d5fd2
commit
fa4e60bd34
@ -38,7 +38,7 @@ COMPOSE_PROJECT_NAME=laradock
|
|||||||
### PHP Version ###########################################
|
### PHP Version ###########################################
|
||||||
|
|
||||||
# Select a PHP version of the Workspace and PHP-FPM containers (Does not apply to HHVM).
|
# Select a PHP version of the Workspace and PHP-FPM containers (Does not apply to HHVM).
|
||||||
# Accepted values: 8.1 - 8.0 - 7.4 - 7.3 - 7.2 - 7.1 - 7.0 - 5.6
|
# Accepted values: 8.2 - 8.1 - 8.0 - 7.4 - 7.3 - 7.2 - 7.1 - 7.0 - 5.6
|
||||||
PHP_VERSION=7.4
|
PHP_VERSION=7.4
|
||||||
|
|
||||||
### Phalcon Version ###########################################
|
### Phalcon Version ###########################################
|
||||||
|
@ -218,7 +218,11 @@ RUN if [ ${INSTALL_XDEBUG} = true ]; then \
|
|||||||
# Install the xdebug extension
|
# Install the xdebug extension
|
||||||
# https://xdebug.org/docs/compat
|
# 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 \
|
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 \
|
||||||
|
if [${LARADOCK_PHP_VERSION} = "8.2"]; then \
|
||||||
|
pecl install xdebug-3.2.0; \
|
||||||
|
else \
|
||||||
pecl install xdebug-3.1.4; \
|
pecl install xdebug-3.1.4; \
|
||||||
|
fi \
|
||||||
else \
|
else \
|
||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
||||||
pecl install xdebug-2.5.5; \
|
pecl install xdebug-2.5.5; \
|
||||||
|
1955
php-fpm/php8.2.ini
Normal file
1955
php-fpm/php8.2.ini
Normal file
File diff suppressed because it is too large
Load Diff
@ -334,7 +334,11 @@ RUN if [ ${INSTALL_XDEBUG} = true ]; then \
|
|||||||
# https://xdebug.org/docs/compat
|
# https://xdebug.org/docs/compat
|
||||||
apt-get install -yqq pkg-config php-xml php${LARADOCK_PHP_VERSION}-xml && \
|
apt-get install -yqq pkg-config php-xml php${LARADOCK_PHP_VERSION}-xml && \
|
||||||
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 \
|
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 \
|
||||||
|
if [${LARADOCK_PHP_VERSION} = "8.2"]; then \
|
||||||
|
pecl install xdebug-3.2.0; \
|
||||||
|
else \
|
||||||
pecl install xdebug-3.1.4; \
|
pecl install xdebug-3.1.4; \
|
||||||
|
fi \
|
||||||
else \
|
else \
|
||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
||||||
pecl install xdebug-2.5.5; \
|
pecl install xdebug-2.5.5; \
|
||||||
|
Loading…
Reference in New Issue
Block a user