Sign inSign up

pomirleanu/php-fpm

By pomirleanu

•Updated over 9 years ago

PHP-FPM

Image
0

264

pomirleanu/php-fpm repository overview

⁠PHP-FPM Docker Image

Docker container to install and run PHP-FPM⁠.

Build Status

Automated Build

⁠What is PHP-FPM ?

PHP-FPM (FastCGI Process Manager) is an alternative FastCGI implementation for PHP.

⁠Getting image

docker pull pomirleanu/php-fpm

⁠Basic usage

docker run -v /path/to/your/app:/var/www/html -d pomirleanu/php-fpm

⁠Running your PHP script

⁠Running image

Run the PHP-FPM image, mounting a directory from your host.

docker run -it --name php-fpm -v /path/to/your/app:/var/www/html pomirleanu/php-fpm php index.php

or using Docker Compose⁠:

version: '2'
services:
  php-fpm:
    container_name: php-fpm
    image: pomirleanu/php-fpm
    entrypoint: php index.php
    volumes:
      - /path/to/your/app:/var/www/html
⁠Logging
docker logs php-fpm

or using Docker Compose⁠:

docker-compose logs php-fpm

⁠Installed extensions

  • bz2
  • gd
  • iconv
  • mbstring
  • mcrypt
  • mysqli
  • pdo_mysql
  • pdo_pgsql
  • pgsql
  • redis
  • xdebug
  • zip
  • json
  • imagick

Tag summary

Content type

Image

Digest

Size

230.7 MB

Last updated

over 9 years ago

docker pull pomirleanu/php-fpm