Sign inSign up

0utman/php71-fpm

By 0utman

•Updated almost 4 years ago

php7.1

Image
0

917

0utman/php71-fpm repository overview

⁠PHP 7.1

⁠Modules

[PHP Modules]

  • apcu
  • bcmath
  • Core
  • ctype
  • curl
  • date
  • dom
  • exif
  • fileinfo
  • filter
  • ftp
  • gd
  • hash
  • iconv
  • json
  • ldap
  • libxml
  • mbstring
  • mcrypt
  • mongodb
  • msgpack
  • mysqli
  • mysqlnd
  • openssl
  • pcntl
  • pcre
  • PDO
  • pdo_mysql
  • pdo_pgsql
  • pdo_sqlite
  • pgsql
  • Phar
  • posix
  • readline
  • Reflection
  • session
  • shmop
  • SimpleXML
  • soap
  • sockets
  • SPL
  • sqlite3
  • standard
  • sysvsem
  • tidy
  • tokenizer
  • xml
  • xmlreader
  • xmlrpc
  • xmlwriter
  • yaml
  • Zend OPcache
  • zip
  • zlib

[Zend Modules]

  • Zend OPcache

⁠PHP *.ini、FPM *.conf file path in image

  • /usr/local/etc

⁠Default command

  • docker run -it -d -p 9000:9000 0utman/php71-fpm

⁠PHP internal server example

  • /your/project/path/www/index.php
  • cd /your/project/path
  • docker run -it -d -p 8080:8080 --name php71 -v $(pwd)/:/var/www/html/ 0utman/php71-fpm /usr/local/bin/php -S 0.0.0.0:8080 -t /var/www/html/www

⁠PHP internal server example with custom config

  • docker cp [CONTAINER_NAME]:/usr/local/etc ./
  • /your/project/path/www/index.php
  • cd /your/project/path
  • docker run -it -d -p 8080:8080 -v $(pwd)/:/var/www/html/ -v $(pwd)/etc/:/usr/local/etc/ 0utman/php71-fpm /usr/local/bin/php -S 0.0.0.0:8080 -t /var/www/html/www

Tag summary

Content type

Image

Digest

sha256:868408685…

Size

160.8 MB

Last updated

almost 4 years ago

docker pull 0utman/php71-fpm