Sign inSign up

bfren/php

By bfren

•Updated 25 days ago

PHP image running in CLI mode.

Image
0

100K+

bfren/php repository overview

⁠Docker PHP

GitHub release (latest by date) Docker Pulls Docker Image Size GitHub Workflow Status

Docker Repository⁠ - bfren ecosystem⁠

PHP (7.4, 8.0, 8.1, 8.2, 8.3, 8.4 and 8.5) CLI with no additional packages installed.

To override values in php.ini map a php-ini.json file to root - see php-ini-sample.json.

⁠Contents

⁠Environment Variables

VariableValuesDescriptionDefault
BF_PHP_DIRpathPath to the PHP configuration directory - should not normally need to be changed.'/etc/php82'
BF_PHP_ENV'production' or 'development'Defines which official php.ini template to use, "production" or "development".'production'
BF_PHP_EXTspace-separated stringList of PHP extensions to install.blank
BF_PHP_PREFIXphp82 (etc)PHP version prefix for package install - should not normally need to be changed.'php82'

⁠Licence

Copyright (c) 2021-2026 bfren⁠ (unless otherwise stated)

Tag summary

Content type

Image

Digest

sha256:f22d42dee…

Size

32.6 MB

Last updated

25 days ago

docker pull bfren/php