Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/oanhnn/docker-php

:+1: Some images base from PHP official images and installed some useful PHP extensions
https://github.com/oanhnn/docker-php

docker docker-image docker-images php

Last synced: 2 days ago
JSON representation

:+1: Some images base from PHP official images and installed some useful PHP extensions

Awesome Lists containing this project

README

        

# oanhnn/docker-php

[![CI](https://github.com/oanhnn/docker-php/actions/workflows/ci.yml/badge.svg)](https://github.com/oanhnn/docker-php/actions/workflows/ci.yml)
[![Docker Pulls](https://img.shields.io/docker/pulls/oanhnn/php)](https://hub.docker.com/r/oanhnn/php)
[![Software License](https://img.shields.io/github/license/oanhnn/docker-php.svg)](LICENSE.md)

## Features

- [x] All images are build from PHP official images.
- [x] Install some PHP extensions: bcmath, gd, gmp, intl, opcache, pdo_mysql, pdo_pgsql, pcntl, zip, redis, xdebug (disable by default)
- [x] Publish to [Docker Hub](https://hub.docker.com/r/oanhnn/php) and [GHCR.IO](https://github.com/oanhnn/docker-php/pkgs/container/php)

```shell
$ 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

```

## Tags.


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

## Usage

- Use like with official image

```
docker run -d --rm -p 9000:9000 -v $(pwd):/var/www oanhnn/php:8.3-fpm
```

## Contributing

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](https://github.com/oanhnn/docker-php/issues).

## Security Vulnerabilities

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

## Credits

- [Oanh Nguyen](https://github.com/oanhnn)
- [All Contributors](../../contributors)

## License

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.