https://github.com/dockhippie/php-cli
Docker images for php-cli
https://github.com/dockhippie/php-cli
docker image
Last synced: 5 months ago
JSON representation
Docker images for php-cli
- Host: GitHub
- URL: https://github.com/dockhippie/php-cli
- Owner: dockhippie
- License: mit
- Created: 2015-05-12T17:34:06.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2025-12-22T12:59:12.000Z (7 months ago)
- Last Synced: 2025-12-23T23:50:31.134Z (7 months ago)
- Topics: docker, image
- Language: Shell
- Homepage:
- Size: 12.3 MB
- Stars: 7
- Watchers: 2
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# php-cli
[](https://github.com/dockhippie/php-cli/actions/workflows/docker.yml) [](https://github.com/dockhippie/php-cli)
These are docker images for [PHP][upstream] running on our
[Alpine Linux image][parent].
## Versions
For the available versions please look at [Docker Hub][dockerhub] or
[Quay][quayio] or check the existing folders within the
[GitHub repository][github].
## Volumes
* /srv/www
* /etc/php8/custom.d
## Ports
* 9000
## Available environment variables
```console
GITHUB_TOKEN =
PHP_ALLOW_URL_FOPEN = On
PHP_ALLOW_URL_INCLUDE = Off
PHP_COMPOSER_INSTALL = true
PHP_COMPOSER_ROOT = ${PHP_WEBROOT}
PHP_DATE_TIMEZONE = UTC
PHP_DISPLAY_ERRORS = On
PHP_DISPLAY_STARTUP_ERRORS = On
PHP_ENABLE_DL = Off
PHP_ERROR_LOG = /proc/self/fd/2
PHP_ERROR_REPORTING = E_ALL & ~E_DEPRECATED & ~E_STRICT
PHP_EXPOSE_HEADER = On
PHP_HTML_ERRORS = On
PHP_IGNORE_REPEATED_ERRORS = Off
PHP_IGNORE_REPEATED_SOURCE = Off
PHP_LISTEN_MODE = 0660
PHP_LOG_ERRORS = On
PHP_LOG_ERRORS_MAX_LEN = 1024
PHP_LOG_LEVEL = warning
PHP_MAX_CHILDREN = 75
PHP_MAX_EXECUTION_TIME = 3600
PHP_MAX_FILE_UPLOADS = 20
PHP_MAX_INPUT_TIME = 3600
PHP_MAX_REQUESTS = 500
PHP_MEMORY_LIMIT = 1G
PHP_OUTPUT_BUFFERING = 4096
PHP_PING_PATH = /ping
PHP_PING_RESPONSE = pong
PHP_POST_MAX_SIZE = 2G
PHP_PROCESS_IDLE_TIMEOUT = 10s
PHP_REPORT_MEMLEAKS = On
PHP_SKIP_CHOWN = false
PHP_SKIP_TEMPLATES = false
PHP_STATUS_LISTEN = 0.0.0.0:9001
PHP_STATUS_PATH = /status
PHP_TRACK_ERRORS = Off
PHP_UPLOAD_MAX_FILESIZE = 2G
PHP_WEBROOT = /srv/www
```
Extracted by the command: `grep -hE ': "\$\{(.*)\}"' latest/overlay/etc/entrypoint.d/*.sh | sed 's/: "\${//' | sed 's/:="/ = /' | sed 's/"}"$//' | sort | uniq`
## Inherited environment variables
* [webhippie/alpine](https://github.com/dockhippie/alpine#available-environment-variables)
## Contributing
Fork -> Patch -> Push -> Pull Request
## Authors
* [Thomas Boerger](https://github.com/tboerger)
## License
MIT
## Copyright
```console
Copyright (c) 2015 Thomas Boerger
```
[upstream]: https://secure.php.net
[parent]: https://github.com/dockhippie/alpine
[dockerhub]: https://hub.docker.com/r/webhippie/php-cli/tags
[quayio]: https://quay.io/repository/webhippie/php-cli?tab=tags
[github]: https://github.com/dockhippie/php-cli