PHP 7 FPM daemon as docker image
Start the container with:
docker run -d --name=php7 \
--restart=always \
-v /run/php7:/run/php \
-v /srv/www:/srv/www \
bboehmke/php:7-fpm
Use the FPM socket "/run/php7/php7.0-fpm.sock" in NGINX.
Note: All files used in PHP scripts must have the same path in the conatiner as on the host. In this case all files are in "/srv/www".
Content type
Image
Digest
Size
129.1 MB
Last updated
over 8 years ago
docker pull bboehmke/php