Skip to content

Docker image with apache 2.2, PHP 5.3, configurable PHP error_reporting setting

License

Notifications You must be signed in to change notification settings

setiseta/docker-apache-php53

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

apache-php

A Docker image based on Ubuntu 14.04, serving the old PHP 5.3 running as Apache Module. Useful for Web developers in need for an old PHP version.

Tags

  • latest: Ubuntu 14.04 (LTS), Apache 2.2, PHP 5.3.29

Usage

NAME="php52"
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
docker run -d \
    -p 80:80 \
    -v $DIR/data/webapp:/home/www/ \
    -v $DIR/data/vhost:/etc/httpd/vhost.d \
    -v $DIR/php.ini:/etc/php.ini \
    --restart=always \
    --name $NAME \
    seti/php53

Access apache logs

Apache is configured to log both access and error log to STDOUT. So you can simply use docker logs to get the log output:

docker logs -f container-id

About

Docker image with apache 2.2, PHP 5.3, configurable PHP error_reporting setting

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 52.3%
  • Dockerfile 47.7%