Python and PHP under the same roof with images for linux/amd64, linux/arm/v7 and linux/arm64 architectures.
https://github.com/elecena/python-php/pkgs/container/python-php
docker pull ghcr.io/elecena/python-php:3.15.2-8.6.0
REPOSITORY TAG IMAGE ID CREATED SIZE
elecena/python-php latest b1d405b8baf5 2 seconds ago 210MB
$ docker run -it elecena/python-php sh info.sh
### Python
Python 3.15.2
virtualenv 21.15.9 from /usr/local/lib/python3.15/site-
packages/virtualenv/__init__.py
### PHP
PHP 8.6.0 (cli) (built: Nov 19 2026 15:18:16) (ZTS)
Copyright © The PHP Group and Contributors
Built by https://github.com/docker-library/php
Zend Engine v4.6.0, Copyright © Zend by Perforce
with Zend OPcache v8.6.0, Copyright ©, by Zend by Perforce
Composer version 2.11.1 2026-10-30 14:52:10
PHP version 8.6.0 (/usr/bin/php)
Run the "diagnose" command to get more detailed diagnostics output.
[PHP Modules]
bz2
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
hash
iconv
json
lexbor
libxml
mbstring
mysqlnd
openssl
pcntl
pcre
PDO
pdo_sqlite
Phar
posix
random
readline
Reflection
session
shmop
SimpleXML
soap
sockets
sodium
SPL
sqlite3
standard
sysvsem
sysvshm
tokenizer
uri
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zlib
[Zend Modules]
Zend OPcache