Docker images for easy php development, using php-fpm
10K+
Add the following to your docker-compose.yml file:
php:
image: yappabe/php
volumes_from:
- app
links:
- mysql
To use a specific PHP version, append the version number to the image name.
Eg: image: yappabe/php:7.4
The following PHP versions are available:
You can configure the following environment vars, these are the defaults.
ENV ENVIRONMENT dev
ENV PHP_FPM_USER www-data
ENV PHP_FPM_PORT 9000
ENV PHP_ERROR_REPORTING "E_ALL \& ~E_NOTICE \& ~E_STRICT \& ~E_DEPRECATED"
Run php-fpm process as root user to avoid cli and fpm permission issues.
Never ever use this in production!
ENV PHP_FPM_USER root
Content type
Image
Digest
sha256:afdd1e236…
Size
328.9 MB
Last updated
over 3 years ago
docker pull yappabe/php:8.0