Sign inSign up

abilashgt/apache2php53

By abilashgt

•Updated almost 11 years ago

Apache 2 with PHP 5.3

Image
0

10K+

abilashgt/apache2php53 repository overview

⁠Dockerfile

FROM abilashgt/apache2php53

MAINTAINER Abilash George Thomas

EXPOSE 80

CMD /usr/sbin/apache2ctl -D FOREGROUND

⁠Build

sudo docker.io build -t temp-apache2php53 .

⁠Run

sudo docker.io run -d -P –name a-apache2php53 \

-p 80:80 \

-v /www:/App/www \

-v /apache2/sites:/App/apache2.conf \

-v /apache2/log:/App/apache2.log \

temp-apache2php53

⁠Connect

docker exec -it a-apache2php53 bash

⁠Notes

Important Locations:

/App/www - for storing website files

/App/apache2.conf - for storing apache site configurations

/App/apache2.log - for apache logs

⁠Change-log

  1. Installed Apache2, PHP53
  2. Additional PHP Extensions a. php-pear b. php5-mysql c. php5-gd
  3. Additional PHP-Pear extensions: a. mongo.so b. apc.so
  4. Apache Modules: a. Rewrite
  5. PHP ini

Tag summary

Content type

Image

Digest

sha256:8c25bbd05…

Size

124.2 MB

Last updated

almost 11 years ago

docker pull abilashgt/apache2php53