Sign inSign up

xlight/web-php7

By xlight

Updated almost 11 years ago

a webserver with:php7 , http-cache, auto minify css&js

Image
1

4.5K

xlight/web-php7 repository overview

Docker-php7-webserver

one Docker container for webserver with:

  • php7 support
  • http cache
  • css&js auto minify (with php Minify build-in)
  • rewrite enabled
  • disable AllowOverride
  • auto include .htaccess in /var/www/html to apache conf
  • add auto prepend php with http header no-cache
  • output php logs to /var/www/log

docker run --name xlight-php7 --hostname xlight-php7 -p80:6081 -p8080:80 -v/data/wwwroot:/var/www xlight/web-php7

@TODO

  • add php.ini
  • user additional conf for apache & php
  • output apache logs to /var/www/log
  • add welcome page
  • change 503 page
  • APM
  • apache real ip behind proxy
  • mini php_minify

Tag summary

Content type

Image

Digest

sha256:337e02154

Size

190.6 MB

Last updated

almost 11 years ago

docker pull xlight/web-php7