feat: Support PHP 8.5
This commit is contained in:
@@ -38,8 +38,8 @@ 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.4 - 8.3 - 8.2 - 8.1 - 8.0 - 7.4 - 7.3 - 7.2 - 7.1 - 7.0 - 5.6
|
# Accepted values: 8.5 - 8.4 - 8.3 - 8.2 - 8.1 - 8.0 - 7.4 - 7.3 - 7.2 - 7.1 - 7.0 - 5.6
|
||||||
PHP_VERSION=8.3
|
PHP_VERSION=8.4
|
||||||
|
|
||||||
### Phalcon Version ###########################################
|
### Phalcon Version ###########################################
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/main-ci.yml
vendored
2
.github/workflows/main-ci.yml
vendored
@@ -22,7 +22,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
php_version: [ "7.1", "7.2", "7.3", "7.4", "8.0", "8.1", "8.2", "8.3", "8.4" ]
|
php_version: [ "7.1", "7.2", "7.3", "7.4", "8.0", "8.1", "8.2", "8.3", "8.4", "8.5" ]
|
||||||
service: [ php-fpm, php-worker, workspace ]
|
service: [ php-fpm, php-worker, workspace ]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|||||||
@@ -108,11 +108,7 @@ RUN set -eux; \
|
|||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
|
||||||
cd /tmp && \
|
cd /tmp && \
|
||||||
if [ ${IMAGEMAGICK_VERSION} = "latest" ]; then \
|
if [ ${IMAGEMAGICK_VERSION} = "latest" ]; then \
|
||||||
if [ ${LARADOCK_PHP_VERSION} = "8.4" ]; then \
|
git clone https://github.com/Imagick/imagick; \
|
||||||
git clone --branch develop https://github.com/Imagick/imagick; \
|
|
||||||
else \
|
|
||||||
git clone https://github.com/Imagick/imagick; \
|
|
||||||
fi; \
|
|
||||||
else \
|
else \
|
||||||
git clone --branch ${IMAGEMAGICK_VERSION} https://github.com/Imagick/imagick; \
|
git clone --branch ${IMAGEMAGICK_VERSION} https://github.com/Imagick/imagick; \
|
||||||
fi && \
|
fi && \
|
||||||
|
|||||||
@@ -220,7 +220,7 @@ RUN if [ ${INSTALL_XDEBUG} = true ]; then \
|
|||||||
# 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 [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
|
||||||
pecl install xdebug-3.4.1; \
|
pecl install xdebug-3.5.0; \
|
||||||
else \
|
else \
|
||||||
pecl install xdebug-3.1.6; \
|
pecl install xdebug-3.1.6; \
|
||||||
fi; \
|
fi; \
|
||||||
@@ -679,7 +679,7 @@ RUN if [ ${INSTALL_OCI8} = true ]; then \
|
|||||||
ARG INSTALL_IONCUBE=false
|
ARG INSTALL_IONCUBE=false
|
||||||
|
|
||||||
RUN if [ ${INSTALL_IONCUBE} = true ]; then \
|
RUN if [ ${INSTALL_IONCUBE} = true ]; then \
|
||||||
if [ ${LARADOCK_PHP_VERSION} != "8.4" ] \
|
if [ ${LARADOCK_PHP_VERSION} != "8.5" ] \
|
||||||
&& [ ${LARADOCK_PHP_VERSION} != "8.0" ]; then \
|
&& [ ${LARADOCK_PHP_VERSION} != "8.0" ]; then \
|
||||||
# Install the php ioncube loader
|
# Install the php ioncube loader
|
||||||
curl -L -o /tmp/ioncube_loaders_lin_x86-64.tar.gz https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz \
|
curl -L -o /tmp/ioncube_loaders_lin_x86-64.tar.gz https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz \
|
||||||
@@ -836,11 +836,7 @@ RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
|
|||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
|
||||||
cd /tmp && \
|
cd /tmp && \
|
||||||
if [ ${IMAGEMAGICK_VERSION} = "latest" ]; then \
|
if [ ${IMAGEMAGICK_VERSION} = "latest" ]; then \
|
||||||
if [ ${LARADOCK_PHP_VERSION} = "8.4" ]; then \
|
git clone https://github.com/Imagick/imagick; \
|
||||||
git clone --branch develop https://github.com/Imagick/imagick; \
|
|
||||||
else \
|
|
||||||
git clone https://github.com/Imagick/imagick; \
|
|
||||||
fi; \
|
|
||||||
else \
|
else \
|
||||||
git clone --branch ${IMAGEMAGICK_VERSION} https://github.com/Imagick/imagick; \
|
git clone --branch ${IMAGEMAGICK_VERSION} https://github.com/Imagick/imagick; \
|
||||||
fi && \
|
fi && \
|
||||||
|
|||||||
1878
php-fpm/php8.5.ini
Normal file
1878
php-fpm/php8.5.ini
Normal file
File diff suppressed because it is too large
Load Diff
@@ -120,13 +120,9 @@ RUN set -eux; \
|
|||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
|
||||||
cd /tmp && \
|
cd /tmp && \
|
||||||
if [ ${IMAGEMAGICK_VERSION} = "latest" ]; then \
|
if [ ${IMAGEMAGICK_VERSION} = "latest" ]; then \
|
||||||
if [ ${LARADOCK_PHP_VERSION} = "8.4" ]; then \
|
git clone https://github.com/Imagick/imagick; \
|
||||||
git clone --branch develop https://github.com/Imagick/imagick; \
|
|
||||||
else \
|
|
||||||
git clone https://github.com/Imagick/imagick; \
|
|
||||||
fi; \
|
|
||||||
else \
|
else \
|
||||||
git clone --branch ${IMAGEMAGICK_VERSION} https://github.com/Imagick/imagick; \
|
git clone --branch ${IMAGEMAGICK_VERSION} https://github.com/Imagick/imagick; \
|
||||||
fi && \
|
fi && \
|
||||||
cd imagick && \
|
cd imagick && \
|
||||||
phpize && \
|
phpize && \
|
||||||
|
|||||||
@@ -365,7 +365,7 @@ RUN if [ ${INSTALL_XDEBUG} = true ]; then \
|
|||||||
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 [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
|
||||||
pecl install xdebug-3.4.1; \
|
pecl install xdebug-3.5.0; \
|
||||||
else \
|
else \
|
||||||
pecl install xdebug-3.1.6; \
|
pecl install xdebug-3.1.6; \
|
||||||
fi; \
|
fi; \
|
||||||
@@ -732,7 +732,7 @@ RUN if [ ${INSTALL_GRAPHVIZ} = true ]; then \
|
|||||||
ARG INSTALL_IONCUBE=false
|
ARG INSTALL_IONCUBE=false
|
||||||
|
|
||||||
RUN if [ ${INSTALL_IONCUBE} = true ]; then \
|
RUN if [ ${INSTALL_IONCUBE} = true ]; then \
|
||||||
if [ ${LARADOCK_PHP_VERSION} != "8.4" ] \
|
if [ ${LARADOCK_PHP_VERSION} != "8.5" ] \
|
||||||
&& [ ${LARADOCK_PHP_VERSION} != "8.0" ]; then \
|
&& [ ${LARADOCK_PHP_VERSION} != "8.0" ]; then \
|
||||||
# Install the php ioncube loader
|
# Install the php ioncube loader
|
||||||
curl -L -o /tmp/ioncube_loaders_lin_x86-64.tar.gz https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz \
|
curl -L -o /tmp/ioncube_loaders_lin_x86-64.tar.gz https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz \
|
||||||
@@ -1298,11 +1298,7 @@ RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
|
|||||||
apt-get install -y git && \
|
apt-get install -y git && \
|
||||||
cd /tmp && \
|
cd /tmp && \
|
||||||
if [ ${IMAGEMAGICK_VERSION} = "latest" ]; then \
|
if [ ${IMAGEMAGICK_VERSION} = "latest" ]; then \
|
||||||
if [ ${LARADOCK_PHP_VERSION} = "8.4" ]; then \
|
git clone https://github.com/Imagick/imagick; \
|
||||||
git clone --branch develop https://github.com/Imagick/imagick; \
|
|
||||||
else \
|
|
||||||
git clone https://github.com/Imagick/imagick; \
|
|
||||||
fi; \
|
|
||||||
else \
|
else \
|
||||||
git clone --branch ${IMAGEMAGICK_VERSION} https://github.com/Imagick/imagick; \
|
git clone --branch ${IMAGEMAGICK_VERSION} https://github.com/Imagick/imagick; \
|
||||||
fi && \
|
fi && \
|
||||||
|
|||||||
Reference in New Issue
Block a user