Sign inSign up

3liz/liz-php-web

By 3liz

•Updated 2 days ago

Image providing a Nginx+PHP-fpm environment, with some preloaded PHP extension

Image
0

10K+

3liz/liz-php-web repository overview

Image providing a web environment with nginx and php-fpm, with some preloaded extension for PHP.

Nginx and PHP-fpm are launched at startup of the container, allowing to have a full PHP application that is easy to install behind a reverse proxy.

See 3liz/liz-php-cli⁠ and 3liz/liz-php-fpm⁠ for other similar images.

⁠Features

  • Based on Debian Bullseye-slim
  • Use PHP packages from packages.sury.org, made by the maintainer of the official debian packages of PHP. So you have different flavor of the images : with PHP 7.4, 8.1 to 8.3.
  • List of extensions:
    • all extensions built within the PHP binary of the debian package
    • other: bcmath, bz2, curl, dba, gd, imap, intl, json, ldap, mbstring, memcache, memcached, mysql, pgsql, redis, soap, sqlite3,xml, uuid, yaml, zip
  • Composer is also installed.
  • Other softwares : curl, wget, git, unzip, gnupg2
  • possibility to setup at startup the uid/gid of the user that run php, so generated files into volumes could be owned by the corresponding user on the host for example.
  • possibility to extend the entrypoint script.
  • possibility to enable the display of errors for debug

But also:

  • possibility to configure your own nginx virtual host

⁠Usage

See the project home: https://github.com/3liz/docker-php/blob/main/README.md⁠

Tag summary

Content type

Image

Digest

sha256:7b293bed4…

Size

152.2 MB

Last updated

2 days ago

docker pull 3liz/liz-php-web:8.4