Forum

PHP-FPM issue

Fred
15 May 2015, 23:37
Hi Hugo,

Could you please tell me how I can add this code in Hiawatha?
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;


When I added it to my
FastCGIserver {
FastCGIid = PHP5-FPM
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name
ConnectTo = /var/run/php-fpm.sock
Extension = php
}

I get the error failed to start hiawatha

Thank you

Hiawatha version:
Operating System:
Hugo Leisink
16 May 2015, 06:22
That's not a valid Hiawatha config option. It's an nginx thing, right? Anyway, there is also no need for it as Hiawatha already sets the SCRIPT_FILENAME environment variable for CGI applications.
Fred
18 May 2015, 09:38
Hi HUgo,

Thank you for the clarification.
Could you please give me a list of the PHP-FPM option we could have for Hiawatha?
Hugo Leisink
18 May 2015, 12:46
Everything you need to know can be found in the manual page.
This topic has been closed.