Skip to content

NGINX + PHP-FPM net::ERR_INCOMPLETE_CHUNKED_ENCODING #2100

@apexJCL

Description

@apexJCL

Operating System Information:

Windows Build Number: 10.0.15063 (15063.296)
Windows Version: Windows 10 Home Single Language x64
Version: 1703

Issue:

Running an NGINX instance with PHP-FPM enabled gives a timeout and an error on console net::ERR_INCOMPLETE_CHUNKED_ENCODING

Steps to reproduce:

  1. Enable/Install WLS
  2. Update/Upgrade (apt update && apt upgrade)
  3. Install NGINX
  4. Install php-fpm
  5. Configure NGINX to use php7.0-fpmsocket and support index.php file
  6. Delete default index and create a new like following:

index.php

<?php
phpinfo();

Behavior:

After enabling both services (service nginx start and service php7.0-fpm start), entering address 127.0.0.1 or localhost renders the phpinfo() but keeps waiting for a request finish. Secods later, on console an error will appear that reads net::ERR_INCOMPLETE_CHUNKED_ENCODING

Accesing the default index.html works alright, so I assume it all relies on php-fpm side

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions