Skip to content

shouldbee/docker-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/*