Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

4 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Debian Apache PHP 5.6

This repository contains the Dockerfile and support files to create an Apache Http Server / PHP 5.6 instance

Base Docker Image

debian:wheezy

Installation

Install Docker.

Download automated build from public Docker Hub Registry:

docker pull enmobile/apache:php53

Alternatively, you can build an image directly from this repository:

docker build -t="enmobile/apache:php53" github.com/EnMobile/docker-apache-php56

##U sage

docker run -d -p 80:80 enmobile/apache-php56

Customization

docker run -d -p 80:80 -v <path-to/local-web-root>:/var/www enmobile/apache-php56

where <path-to/local-web-root> is an absolute path of a directory containing php and static sources.

Mac users will want to place the path to local web root under the automacially shared Users folder and should consider using something like:

-v $(pwd)/webroot:/var/www

After few seconds, open http://<host> to see your web content. If started with the -v option, web pages will be automatically updated as they are edited.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages