- All images are build from PHP official images.
- Install some PHP extensions: bcmath, gd, gmp, intl, opcache, pdo_mysql, pdo_pgsql, pcntl, zip, redis, xdebug (disable by default)
- Publish to Docker Hub and GHCR.IO
$ docker run --rm oanhnn/php:8.3-cli -m
[PHP Modules]
bcmath
Core
ctype
curl
date
dom
fileinfo
filter
ftp
gd
gmp
hash
iconv
intl
json
libxml
mbstring
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_pgsql
pdo_sqlite
Phar
posix
readline
redis
Reflection
session
SimpleXML
sockets
sodium
SPL
sqlite3
standard
tokenizer
xml
xmlreader
xmlwriter
Zend OPcache
zip
zlib
[Zend Modules]
Zend OPcache
Version | Variants | ||||||
---|---|---|---|---|---|---|---|
apache | cli | fpm | zts | cli-alpine | fpm-alpine | zts-alpine | |
7.0 | - | - | - | - | 7.0-alpine | - | - |
7.1 | - | - | - | - | 7.1-alpine | - | - |
7.2 | - | - | - | - | 7.2-alpine | - | - |
7.3 | 7.3-apache | 7.3-cli | 7.3-fpm | 7.3-zts | 7.3-cli-alpine | 7.3-fpm-alpine | 7.3-zts-alpine |
7.4 | 7.4-apache | 7.4-cli | 7.4-fpm | 7.4-zts | 7.4-cli-alpine | 7.4-fpm-alpine | 7.4-zts-alpine |
8.0 | 8.0-apache | 8.0-cli | 8.0-fpm | 8.0-zts | 8.0-cli-alpine | 8.0-fpm-alpine | 8.0-zts-alpine |
8.1 | 8.1-apache | 8.1-cli | 8.1-fpm | 8.1-zts | 8.1-cli-alpine | 8.1-fpm-alpine | 8.1-zts-alpine |
8.2 | 8.2-apache | 8.2-cli | 8.2-fpm | 8.2-zts | 8.2-cli-alpine | 8.2-fpm-alpine | 8.2-zts-alpine |
8.3 | 8.3-apache | 8.3-cli | 8.3-fpm | 8.3-zts | 8.3-cli-alpine | 8.3-fpm-alpine | 8.3-zts-alpine |
- Use like with official image
docker run -d --rm -p 9000:9000 -v $(pwd):/var/www oanhnn/php:8.3-fpm
All code contributions must go through a pull request and approved by a core developer before being merged. This is to ensure proper review of all the code.
Fork the project, create a feature branch, and send a pull request.
If you would like to help take a look at the list of issues.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.