Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 361 Bytes

File metadata and controls

22 lines (16 loc) · 361 Bytes

docker-php

This container includes:

  • PHP 5.5
  • Apache

How to run

$ docker run -dit --net host \
  -v /document_root:/document_root \
  -v /var/log/php:/var/log/php \
  -v /var/log/apache2:/var/log/apache2 \
  -e DOCUMENT_ROOT=/document_root shouldbee/php

Show logs

$ tail -f /var/log/php/error.log /var/log/apache2/*