php5-fpm gives unknown script error

Francis Daly francis at
Tue May 10 12:21:44 UTC 2016

On Mon, May 09, 2016 at 05:52:47PM -0400, Alex Hall wrote:

Hi there,

without knowing anything about OSTicket...

> FastCGI sent an stderr: unknown script while reading response header from
> upstream

That usually means that the fastcgi server could not find the file that
it was looking for, based on what nginx told it.

So: what http request do you make?

What (php) file do you want the fastcgi server to use for this request?

> The setup here is awkward (SSH
> from Windows to Debian, with no SCP support currently and no way to copy
> from or to the SSH session). I can copy files, but it's a bit of a process.

As an aside: if you can copy/paste words between your ssh session and
your windows command prompt, you can use "tar" and "base64", possibly
also with "gzip", to copy files from one to the other.

It can be annoying for large files, but anything that compresses down
to some tens of kB is usually quite quick and easy.


Francis Daly        francis at

More information about the nginx mailing list