Sign inSign up

carlosalgms/docker-php-fpm-nginx

By carlosalgms

Updated almost 4 years ago

A docker image running nginx and PHP-fpm with XDebug enabled

Image
1

1.1K

carlosalgms/docker-php-fpm-nginx repository overview

docker-php-fpm-nginx

A docker image running Nginx and PHP-fpm

To be as close as possible to the Production environment.

PS: It was not meant to be a production Image, it includes XDebug.

How to use

Nginx will serve everything under /var/www/html
Just mound a volume under that folder
and, remap the PORTS as you wish:

docker run --rm -it -p 8080:80 --volume ./local/path:/var/www/http carlosalgms/docker-php-fpm-nginx:7-fpm

What is Included?

  • PHP 7 or 5.6
  • Nginx
  • PHP - Plugins
    • xdebug ✨
    • mcrypt
    • gd
    • mysql (only for php5.6)
    • mysqli
    • pdo_mysql
    • opcache
    • pspell
    • xml
    • All others pre-included by default

Tag summary

Content type

Image

Digest

sha256:3602d05d7

Size

34.8 MB

Last updated

almost 4 years ago

docker pull carlosalgms/docker-php-fpm-nginx