No script name passed to php-fpm via nginx/FastCGI -


i run php 5.5/5.6 instance on php-fpm without problems (unix sockets , nginx).

today compiled php 7 , started third php instance. while requests served fine php 5.5/5.6 instances php 7 instance get:

warning: pid 2582, fpm_request_check_timed_out(), line 277: [pool www0] child 2813, script '' (request: " ") execution timed out (120.018160 sec), terminating

in php-fpm log file and

[error] 1889#0: *4 recv() failed (104: connection reset peer) while reading response header upstream, client: xxx.xxx.xxx.20, server: localhost, request: "get /info.php http/1.1", upstream: "fastcgi://unix:/var/run/php70-fpm.sock:", host: "xxx.xxx.xxx.21"

in nginx error log file.

i use fastcgi_param script_filename $document_root$fastcgi_script_name works php 5.6 instance. although script filename php 7 seems empty. i'm requesting script /info.php.

is there difference between using php 5.x , 7.0 php-fpm?


update

at least i'm not 1 facing problems seems. opened bug report here: https://bugs.php.net/bug.php?id=69850

there similar (probably identical) bug reported on here: https://bugs.php.net/bug.php?id=69875 (thx @crypticツ)

update 2

try newest alpha2. bug fixed there. unix sockets work charm again.

i not sure if can considered answer, @ moment, when writing answer, bug have raised has been deemed confirmed php team:

[2015-06-23 12:47 utc] remi@php.net confirm php 5.6.10 works php 7.0.0-dev (jun 17 2015) - network socket: ok. - uds: broken 

update: saw aware of same too!


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

php - Find a regex to take part of Email -