Sign inSign up

makzin/apachephp

By makzin

•Updated 14 days ago

Docker Image of Apache2 + PHP

Image
0

2.3K

makzin/apachephp repository overview

⁠What's included

  • Apache with PHP configured and ready
  • mod_rewrite enabled
  • Composer pre-installed
  • Common PHP extensions (mysqli, gd, curl, mbstring, xml, bcmath, intl, soap, zip)
  • Document root at /www
  • Multi-architecture support (amd64, arm64)

⁠How to use this image

⁠Start an Apache server instance
docker run -d -p 8080:80 -v $(pwd):/www makzin/apachephp
⁠Using Composer
docker run --rm -v $(pwd):/www makzin/apachephp composer install
⁠Docker Compose
services:
  web:
    image: makzin/apachephp:latest
    ports:
      - "8080:80"
    volumes:
      - ./src:/www

Tag summary

Content type

Image

Digest

sha256:e3bd41a5c…

Size

97.5 MB

Last updated

14 days ago

docker pull makzin/apachephp