Sign inSign up

makzin/apachephp

By makzin

Updated 8 months ago

Docker Image of Apache2 + PHP

Image
0

1.5K

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:d1a152741

Size

78.3 MB

Last updated

8 months ago

docker pull makzin/apachephp