https://github.com/elecena/python-php
Python and PHP under the same roof / Docker image
https://github.com/elecena/python-php
alpine-docker docker docker-image multilanguage php php-opcache php8 python python-3 python-php
Last synced: about 2 months ago
JSON representation
Python and PHP under the same roof / Docker image
- Host: GitHub
- URL: https://github.com/elecena/python-php
- Owner: elecena
- License: mit
- Created: 2020-04-15T17:35:59.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2025-12-12T15:16:41.000Z (3 months ago)
- Last Synced: 2025-12-14T06:39:10.982Z (3 months ago)
- Topics: alpine-docker, docker, docker-image, multilanguage, php, php-opcache, php8, python, python-3, python-php
- Language: Dockerfile
- Homepage:
- Size: 126 KB
- Stars: 2
- Watchers: 0
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
python-php
==========
Python and PHP under the same roof (in **under 125 MB Docker image**).
https://github.com/elecena/python-php/pkgs/container/python-php
```
docker pull ghcr.io/elecena/python-php:3.14.2-8.5.1
```
```
$ docker images | head
REPOSITORY TAG IMAGE ID CREATED SIZE
elecena/python-php latest 9642b176dbb5 2 seconds ago 125MB
```
## Installed software
```
$ docker run -it elecena/python-php sh info.sh
### Python
Python 3.14.2
virtualenv 20.36.1 from /usr/local/lib/python3.14/site-packages/virtualenv/__init__.py
### PHP
PHP 8.5.1 (cli) (built: Jan 9 2026 22:35:18) (NTS)
Copyright (c) The PHP Group
Built by https://github.com/docker-library/php
Zend Engine v4.5.1, Copyright (c) Zend Technologies
with Zend OPcache v8.5.1, Copyright (c), by Zend Technologies
Composer version 2.9.3 2025-12-30 13:40:17
PHP version 8.5.1 (/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
yaml
Zend OPcache
zlib
[Zend Modules]
Zend OPcache
```