Sign inSign up

3liz/liz-php-cli

By 3liz

•Updated 2 days ago

Image providing a PHP-cli environment, with some pre-loaded extensions

Image
0

8.3K

3liz/liz-php-cli repository overview

Image providing a PHP-cli environment, with some preloaded extension.

See 3liz/liz-php-fpm⁠ and 3liz/liz-php-web⁠ 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, uuid, xml, 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

⁠Usage

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

Tag summary

Content type

Image

Digest

sha256:12a3f8175…

Size

126.8 MB

Last updated

2 days ago

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