Sign inSign up

nurettintopal/docker-php

By nurettintopal

•Updated 10 months ago

Alpine Linux, php, php-fpm, nginx, git, composer for Docker

Image
Web servers
1

2.9K

nurettintopal/docker-php repository overview

⁠docker PHP on alpine linux Docker Pulls

Alpine Linux⁠, php⁠, php-fpm⁠, nginx⁠, git⁠, composer⁠ for Docker⁠

⁠branches & versions

BranchPHPNote
main8.5stable
php-8.58.5stable
php-8.48.4stable
php-8.38.3stable
php-8.28.2stable
php-8.18.1stable
php-8.08.0stable - not updating anymore
php-7.47.4stable - not updating anymore
php-7.37.3stable - not updating anymore
php-7.27.2stable - not updating anymore
php-7.17.1stable - not updating anymore

⁠usage

build image:

$ docker build -t docker-php .

run container:

$ docker run -d -p 8080:8080 docker-php

open a browser and go to:

http://localhost:8080/

connect to container with ssh:

$ docker exec -it CONTAINER_ID sh

delete container:

$ docker rm -f CONTAINER_ID

⁠usage with docker-compose

cooming soon...

⁠supported PHP extensions

  • php-pcntl
  • php-session
  • php-mbstring
  • php-json
  • php-xml
  • php-curl
  • php-mysqli
  • php-pdo
  • php-pdo_mysql
  • php-iconv
  • php-dom
  • php-phar
  • php-openssl
  • php-tokenizer
  • php-xmlwriter
  • php-simplexml
  • php-ctype
  • php-zlib
  • php-redis

⁠contributing

cooming soon...

⁠license

docker-php is open-sourced software licensed under the MIT license⁠.

Tag summary

Content type

Image

Digest

sha256:549497fed…

Size

48.3 MB

Last updated

10 months ago

docker pull nurettintopal/docker-php