Sign inSign up

unixbird/apache-php-mysql

By unixbird

•Updated almost 2 years ago

Allows you to easily host apache with php and php-mysql

Image
0

1.8K

unixbird/apache-php-mysql repository overview

Docker image that allows you to host apache with php modules like php-mysql easily.

Notes---

I edited the original apache conf to not include Indexes and edited Documentroot to be in /var/www⁠. If you need other things edit this file then build the image.

How to use---

Pretty simple

docker run -d -p 8080:80 --name=your-php-app -v /dir/that/hosts/your/php/:/var/www unixbird/apache-php-mysql

Above command will host your php app from your host's directory (/dir/that/hosts/your/php) into the Documentroot (/var/www/) on port 8080

Tag summary

Content type

Image

Digest

sha256:bfb94c5f9…

Size

107 MB

Last updated

almost 2 years ago

docker pull unixbird/apache-php-mysql