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:
- Enable/Install WLS
- Update/Upgrade (
apt update && apt upgrade)
- Install NGINX
- Install php-fpm
- Configure NGINX to use
php7.0-fpmsocket and support index.php file
- Delete default
index and create a new like following:
index.php
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