Sign inSign up

martinmajlis/apache-php-rewrite

By martinmajlis

•Updated over 4 years ago

Docker image with Apache, PHP, and mod_rewrite enabled

Image
0

704

martinmajlis/apache-php-rewrite repository overview

⁠Docker with Apache, PHP, and mod_rewrite

Docker image with Apache, PHP, and mod_rewrite to make web development easier.

It's based on official PHP Docker image - https://hub.docker.com/_/php⁠.

⁠How To Run It

In your folder with PHP project (with index.php) run the following command to make your web accessible on http://localhost:8080⁠.

docker run -it -p 8080:80 -v "$PWD":/var/www/html/ martinmajlis/apache-php-rewrite:latest

⁠Images

⁠Source

Tag summary

Content type

Image

Digest

Size

155.6 MB

Last updated

over 4 years ago

docker pull martinmajlis/apache-php-rewrite