Sign inSign up

bboehmke/php

By bboehmke

•Updated over 8 years ago

PHP FPM daemon as docker image

Image
0

1.5K

bboehmke/php repository overview

⁠PHP 7 FPM

PHP 7 FPM daemon as docker image

⁠Usage

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".

Tag summary

Content type

Image

Digest

Size

129.1 MB

Last updated

over 8 years ago

docker pull bboehmke/php