php
php copied to clipboard
Docker Official Image packaging for PHP
I am using the php:7.4-fpm-alpine image, but when I try to install LibreOffice with the following command: ```dockerfile RUN apk add libreoffice \ openjdk11-jre \ xvfb \ xorg-server \ fontconfig...
This has been discussed several times already (#530, #709, #879, and #1364), and I think it's worth discussing again in light of a [recent request posted to the PHP internals...
I try to add the `imagick` php extension to my Docker container: ```Dockerfile FROM php:8.3-fpm-alpine AS base RUN apk add --update --no-cache --virtual .build-deps $PHPIZE_DEPS imagemagick imagemagick-dev \ && pecl...
I'd like to use the php-fpm container with socket listener(more secure I think) instead of tcp. I run my instance like this: ``` docker run -d \ -e TZ=${MY_TIMEZONE} \...
## Description This PR introduces a script enhancement to allow setting SSL certificates and keys directly from base64 encoded environment variables. This change is aimed at maintaining stateless environments in...
The following cost me hours of debugging. It's a side effect of https://github.com/docker-library/php/pull/1383 plus https://sysctl-explorer.net/fs/protected_symlinks/ . Dockerfile: ``` FROM php:8.1-apache RUN mkdir /tmp/files RUN ln -s /tmp/files myfiles ``` Commands:...
We added a couple backports to `8.1` from PHP upstream changes to get it to compile on Alpine 3.21 in #1552. We should consider keeping them around so that they...
Recently the PHP foundation has been working on a new official tool for installing extensions, which has now been released as PHP PIE. See also https://thephp.foundation/blog/2024/11/19/pie-pre-release/ and https://github.com/php/pie. Given that...