Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion al/x86_64/standard/5.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -468,18 +468,21 @@ RUN set -ex \
RUN curl -L https://raw.githubusercontent.com/phpenv/phpenv-installer/master/bin/phpenv-installer | bash
ENV PATH="/root/.phpenv/shims:/root/.phpenv/bin:$PATH"

ENV PHP_83_VERSION="8.3.13" \
ENV PHP_84_VERSION="8.4.7" \
PHP_83_VERSION="8.3.13" \
PHP_82_VERSION="8.2.25"
# Set environment variables for PHP configure options
ENV PHP_BUILD_CONFIGURE_OPTS="--with-curl --with-password-argon2 --with-pdo-pgsql --with-libedit"
# Set make arguments to use 4 parallel jobs.
ENV PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4"

RUN phpenv update \
&& phpenv install $PHP_84_VERSION \
&& phpenv install $PHP_83_VERSION \
&& phpenv install $PHP_82_VERSION \
&& phpenv global $PHP_82_VERSION \
&& php -v \
&& echo "memory_limit = 1G;" >> "/root/.phpenv/versions/$PHP_84_VERSION/etc/conf.d/memory.ini" \
&& echo "memory_limit = 1G;" >> "/root/.phpenv/versions/$PHP_83_VERSION/etc/conf.d/memory.ini" \
&& echo "memory_limit = 1G;" >> "/root/.phpenv/versions/$PHP_82_VERSION/etc/conf.d/memory.ini" \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer \
Expand Down
6 changes: 5 additions & 1 deletion al/x86_64/standard/5.0/runtimes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ runtimes:
- pyenv global $VERSION
php:
versions:
8.4:
commands:
- echo "Installing PHP version 8.4 ..."
- phpenv global $PHP_84_VERSION
8.3:
commands:
- echo "Installing PHP version 8.3 ..."
Expand Down Expand Up @@ -199,4 +203,4 @@ runtimes:
commands:
- echo "Installing custom .Net version $VERSION ..."
- /usr/local/bin/dotnet-install.sh -v $VERSION && rm -rf /tmp/*
- test -f "global.json" && echo "Using provided global.json" || dotnet new globaljson --sdk-version $VERSION --roll-forward feature
- test -f "global.json" && echo "Using provided global.json" || dotnet new globaljson --sdk-version $VERSION --roll-forward feature
20 changes: 20 additions & 0 deletions al/x86_64/standard/5.0/tools/runtime_configs/php/8.4.7
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
configure_option "--with-curl"
configure_option "--with-password-argon2"
configure_option "--with-pdo-pgsql"
configure_option "--with-libedit"

PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4"

#https://github.com/php-build/php-build/blob/master/share/php-build/definitions/8.4.7
#Don't change beyond this line

configure_option "--enable-gd"
configure_option "--with-jpeg"
configure_option "--with-zip"
configure_option "--with-mhash"

configure_option -D "--with-xmlrpc"

install_package "https://www.php.net/distributions/php-8.4.7.tar.bz2"
install_xdebug "3.4.2"
enable_builtin_opcache
5 changes: 4 additions & 1 deletion ubuntu/standard/7.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -445,18 +445,21 @@ RUN set -ex \
RUN curl -L https://raw.githubusercontent.com/phpenv/phpenv-installer/master/bin/phpenv-installer | bash
ENV PATH="/root/.phpenv/shims:/root/.phpenv/bin:$PATH"

ENV PHP_83_VERSION="8.3.13" \
ENV PHP_84_VERSION="8.4.7" \
PHP_83_VERSION="8.3.13" \
PHP_82_VERSION="8.2.25"
# Set environment variables for PHP configure options
ENV PHP_BUILD_CONFIGURE_OPTS="--with-curl --with-password-argon2 --with-pdo-pgsql --with-libedit"
# Set make arguments to use 4 parallel jobs.
ENV PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4"

RUN phpenv update \
&& phpenv install $PHP_84_VERSION \
&& phpenv install $PHP_83_VERSION \
&& phpenv install $PHP_82_VERSION \
&& phpenv global $PHP_82_VERSION \
&& php -v \
&& echo "memory_limit = 1G;" >> "/root/.phpenv/versions/$PHP_84_VERSION/etc/conf.d/memory.ini" \
&& echo "memory_limit = 1G;" >> "/root/.phpenv/versions/$PHP_83_VERSION/etc/conf.d/memory.ini" \
&& echo "memory_limit = 1G;" >> "/root/.phpenv/versions/$PHP_82_VERSION/etc/conf.d/memory.ini" \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer \
Expand Down
6 changes: 5 additions & 1 deletion ubuntu/standard/7.0/runtimes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ runtimes:
- pyenv global $VERSION
php:
versions:
8.4:
commands:
- echo "Installing PHP version 8.4 ..."
- phpenv global $PHP_84_VERSION
8.3:
commands:
- echo "Installing PHP version 8.3 ..."
Expand Down Expand Up @@ -205,4 +209,4 @@ runtimes:
commands:
- echo "Installing custom .Net version $VERSION ..."
- /usr/local/bin/dotnet-install.sh -v $VERSION && rm -rf /tmp/*
- test -f "global.json" && echo "Using provided global.json" || dotnet new globaljson --sdk-version $VERSION --roll-forward feature
- test -f "global.json" && echo "Using provided global.json" || dotnet new globaljson --sdk-version $VERSION --roll-forward feature
20 changes: 20 additions & 0 deletions ubuntu/standard/7.0/tools/runtime_configs/php/8.4.7
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
configure_option "--with-curl"
configure_option "--with-password-argon2"
configure_option "--with-pdo-pgsql"
configure_option "--with-libedit"

PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4"

#https://github.com/php-build/php-build/blob/master/share/php-build/definitions/8.4.7
#Don't change beyond this line

configure_option "--enable-gd"
configure_option "--with-jpeg"
configure_option "--with-zip"
configure_option "--with-mhash"

configure_option -D "--with-xmlrpc"

install_package "https://www.php.net/distributions/php-8.4.7.tar.bz2"
install_xdebug "3.4.2"
enable_builtin_opcache