Sign inSign up

crocodile2u/php-embed

By crocodile2u

Updated over 4 years ago

Forked from official PHP docker images github, adds embed SAPI to all CLI variants.

Image
0

1.5K

crocodile2u/php-embed repository overview

Dockerfile

Official PHP docker images lack the embed SAPI which is needed for Nginx Unit, for example. Building your own image based on Alpine with Nginx Unit and PHP-7.4 is somewhat tricky because 7.4 is only available in APK repos for the edge version of Alpine, 7.3 being the latest available PHP version for Alpine 3.12.

While there is an ongoing discussion in the official PHP docker repository, you can use these images which obviously work exactly in the same way as official PHP CLI images but in addition provide the embed SAPI for you to compile Nginx Unit against.

Tag summary

Content type

Image

Digest

Size

31.3 MB

Last updated

almost 6 years ago

docker pull crocodile2u/php-embed