php (8.1.34-r5-apache)
Published 2026-11-20 05:18:40 +01:00 by wappler
Installation
docker pull git.wappler.systems/betterh/php:8.1.34-r5-apachesha256:521925e90bb54675a06d6349aa8060a5376a6f1b56c8f3d0e5bebb2e2b6abac4
Image Layers
| # debian.sh --arch 'amd64' out/ 'trixie' '@1793827419' |
| COPY /tmp/betterh-runtime-deps /tmp/betterh-runtime-deps # buildkit |
| RUN /bin/sh -c set -eux; apt-get -o APT::Update::Error-Mode=any update; apt-get install -y --no-install-recommends apache2 passwd ca-certificates curl imagemagick graphicsmagick ghostscript unzip zip less acl mariadb-client locales $(cat /tmp/betterh-runtime-deps); sed -i -E 's/^# *(de_DE\.UTF-8 UTF-8|en_US\.UTF-8 UTF-8)$/\1/' /etc/locale.gen; locale-gen; locale -a | grep -qx 'de_DE.utf8'; locale -a | grep -qx 'en_US.utf8'; rm -rf /var/lib/apt/lists/* /tmp/betterh-runtime-deps # buildkit |
| COPY /usr/local /usr/local # buildkit |
| COPY /usr/lib/apache2/modules/libphp.so /usr/lib/apache2/modules/libphp.so # buildkit |
| RUN /bin/sh -c rm -f /usr/local/bin/phpize /usr/local/bin/php-config /usr/local/bin/docker-php-ext-install /usr/local/bin/docker-php-ext-configure /usr/local/bin/docker-php-source # buildkit |
| COPY /etc/apache2/mods-available/php.load /etc/apache2/mods-available/php.load # buildkit |
| COPY /etc/apache2/conf-available/docker-php.conf /etc/apache2/conf-available/docker-php.conf # buildkit |
| RUN /bin/sh -c set -eux; a2dismod mpm_event; a2enmod mpm_prefork; a2enmod php; a2enconf docker-php; a2enmod rewrite headers expires deflate setenvif; a2disconf other-vhosts-access-log; mkdir -p /var/www/html # buildkit |
| COPY apache-vhost.conf /etc/apache2/sites-available/000-default.conf # buildkit |
| COPY status.php /usr/local/share/betterh/status.php # buildkit |
| COPY php.ini /usr/local/etc/php/conf.d/zz-betterh.ini # buildkit |
| COPY entrypoint.sh /usr/local/bin/betterh-entrypoint # buildkit |
| RUN /bin/sh -c chmod +x /usr/local/bin/betterh-entrypoint # buildkit |
| ENV BETTERH_DOCROOT=/var/www/html |
| ENTRYPOINT ["/usr/local/bin/betterh-entrypoint"] |
| CMD ["apache2-foreground"] |
Labels
| Key | Value |
|---|---|
| systems.betterh.source | 4eabef42e63015f0cb8296e369756924922791b72c5dbc9abb39af4eea2d6452 |
Details
2026-11-20 05:18:40 +01:00
Versions (36)
View all
Container
0
OCI / Docker
linux/amd64
142 MiB
8.5.13-apache
2026-11-20
8.5-apache
2026-11-20
8.4.28-apache
2026-11-20
8.4-apache
2026-11-20
8.3-apache
2026-11-20