https://github.com/gnarea/docker-alpine-php-fpm
Docker image for PHP5 based on Alpine Linux.
https://github.com/gnarea/docker-alpine-php-fpm
Last synced: over 1 year ago
JSON representation
Docker image for PHP5 based on Alpine Linux.
- Host: GitHub
- URL: https://github.com/gnarea/docker-alpine-php-fpm
- Owner: gnarea
- Archived: true
- Created: 2016-02-09T22:43:38.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-07T23:30:51.000Z (about 10 years ago)
- Last Synced: 2025-03-11T13:11:35.006Z (over 1 year ago)
- Language: Shell
- Homepage: https://hub.docker.com/r/gnarea/alpine-php-fpm/
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Alpine Image for PHP-FPM
Run `nginx-wrapper` and `php-fpm-wrapper`.
## Environment Variables
- `DEBUG` (`true` to enable, any other value to disable; default: disabled).
- `MAX_REQUEST_BODY_SIZE_MB` (e.g., `10`; default: `2`). Sets Nginx'
`client_max_body_size` and PHP's `post_max_size`.
- `MAX_FILE_UPLOAD_SIZE_MB` (e.g., `9`; default: `2`). Sets PHP's
`upload_max_filesize`.
- `WORKER_PROCESSES` (e.g., `16`; default: `1`). Sets PHP's `pm.max_children`
or Nginx' `worker_processes`.
## Debugging vs Non-Debugging Mode
With debugging on in PHP-FPM:
- All errors would be printed on the page.
- `error_reporting` is set to `E_ALL`.
- OPCache is disabled.
- PHP's `memory_limit` is set to almost match the memory limit set on the
container (if one is set).
With debugging off:
- `opcache.validate_timestamps=0`. Any other OPCache-related configuration
can be overridden with a custom `.ini` file.