Sign inSign up

taobig/nginx-php72

By taobig

•Updated over 5 years ago

Nginx with PHP7.2-FPM

Image
0

564

taobig/nginx-php72 repository overview

⁠usage

docker run --name ${container_name} -p ${expose_port}:80 -v ${custom_nginx_conf_dir}:/etc/nginx/conf.d -v ${code_dir}:/app -d taobig/nginx-php72
/app/web is default document root


Image's default timezone is Asia/Shanghai
nginx log is in /var/log/nginx
php.ini come from php.ini-production
php.ini settings:

  1. date.timezone = Asia/Shanghai
  2. session.use_strict_mode = 1
  3. session.cookie_httponly = 1
  4. memory_limit = 128M
  5. expose_php = Off
  6. upload_max_filesize = 100M

Tag summary

Content type

Image

Digest

Size

105.1 MB

Last updated

over 5 years ago

docker pull taobig/nginx-php72