https://github.com/bfren/docker-php
Docker PHP image running in CLI mode.
https://github.com/bfren/docker-php
docker docker-php php
Last synced: 5 months ago
JSON representation
Docker PHP image running in CLI mode.
- Host: GitHub
- URL: https://github.com/bfren/docker-php
- Owner: bfren
- License: mit
- Created: 2021-11-23T15:17:09.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-13T07:24:21.000Z (over 1 year ago)
- Last Synced: 2024-10-12T02:51:50.858Z (over 1 year ago)
- Topics: docker, docker-php, php
- Language: Nushell
- Homepage:
- Size: 205 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Docker PHP
   
[Docker Repository](https://hub.docker.com/r/bfren/php) - [bfren ecosystem](https://github.com/bfren/docker)
PHP (7.4, 8.0, 8.1, 8.2 and 8.3) 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](#environment-variables)
* [Licence / Copyright](#licence)
## Environment Variables
| Variable | Values | Description | Default |
| ----------------- | ----------------------------- | --------------------------------------------------------------------------------- | ------------- |
| `BF_PHP_DIR` | *path* | Path 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_EXT` | *space-separated string* | List of PHP extensions to install. | *blank* |
| `BF_PHP_PREFIX` | *php82 (etc)* | PHP version prefix for package install - should not normally need to be changed. | 'php82' |
## Licence
> [MIT](https://mit.bfren.dev/2021)
## Copyright
> Copyright (c) 2021-2025 [bfren](https://bfren.dev) (unless otherwise stated)