HUB
Sign inSign up

itdogsoftware/nginx-php-fpm

By itdogsoftware

•Updated 1 day ago

php-fpm 8.5.x, nginx, composer for development purpose.

Image
Languages & frameworks
Developer tools
Web servers
0

4.2K

itdogsoftware/nginx-php-fpm repository overview

This image use supervisord to maintain php-fpm & nginx, pre-install composer.

Breaking change in v1.4.0. Node support removed. Recommend to use exact tag and avoid using latest.

As the image is recommended to run in non privilege mode.

It is required to mount an empty folder for /var/cache/nginx & /sock.

Customize your nginx.conf to match your application and mount it to /etc/nginx/nginx.conf accordingly.

    server {
      error_log /dev/null;
      access_log /dev/null;
      listen 8080 default_server;
      index index.php index.html;
      # Set nginx to serve files from the shared volume!
      root /var/www/html/public;
      server_name _;
      location / {
        try_files $uri $uri/ /index.php?$query_string;
      }
      # /sock is a shared volume with php-fpm service
      location ~ \.php$ {
        try_files $uri =404;
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        fastcgi_pass unix:/sock/php-fpm.sock;
        fastcgi_index index.php;
        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        fastcgi_param PATH_INFO $fastcgi_path_info;
      }
    }

CVE-2026-109618, CVE-2026-109619 and CVE-2026-115560 fix

Tag summary

Content type

Image

Digest

sha256:b46eb1643…

Size

271.4 MB

Last updated

1 day ago

docker pull itdogsoftware/nginx-php-fpm