Public Repository

Last pushed: 2 years ago
Short Description
Apache 2 ready to work with PHP5 and : Rewrite mod, MySQL-lib, cURL, GD lib, SSMTP
Full Description

Image description

This image include from a Debian :

  • Apache 2
  • PHP5
  • Rewrite mod
  • MySQL lib + cURL + GD lib
  • And SSMTP as mail sender agent ( Configuration file example )

Get started

You can simply start a new web server like this :

docker run -d -P camillebaronnet/apache-php

To choose a particular port

docker run -d -p 8001:80 camillebaronnet/apache-php

And try : http://localhost:8001

Mount a volume from your host

docker run -d -p 8001:80 -v /yourproject:/var/www camillebaronnet/apache-php

###Example with MySQL link :

docker pull mysql


docker run -d --name mymysqlcontainer mysql


docker run -d -p 80:80 --link mymysqlcontainer:mysql -v /yourproject/:var/www camillebaronnet/apache-php

Dev version

The dev version allow directory listings and display errors from PHP : camillebaronnet/apache-php:dev

Docker Pull Command