EnvDevPHPBase is a PHP container designed to be used like a base for a utilisation into the EnvDev project. The utlisation outside this project is naturally possible.
Six PHP versions are available through image's tags:
- 7.0 FPM
- 7.1 FPM
- 7.2 FPM
- 7.0 CLI
- 7.1 CLI
- 7.2 CLI
The latest version of EnvDevPHPBase (latest) (
vfac/envdevphpbase) is a image with the last version of PHP FPM available.
Each versions exist in Alpine version to limit the image size.
To customize the PHP image you can share your
php.ini file into
/usr/local/etc/php/php.ini into your Dockerfile or docker-compose file.
A maximum of PHP extension have been added to be used in a maximum of projects.
docker run -d --name php -p 9000:9000 -v $PWD:/var/www/html vfac/envdevphpbase:7.2-fpm
The maildev configuration has been added into this image to be used into the EnvDev project. There are no consequence if you use this image for an another utilisation.
X-Debug is installed with standard options. Two options have been customized: - remote_enable=on - remote_autostart=off
Composer is installed to be used with your configuration of PHP.