diff --git a/docs/simplesamlphp-install.md b/docs/simplesamlphp-install.md index 4f3292a038affc3cc1005db9bf66177c544c2248..4af9b6216531c7943fa70dc826d3c1446f9edc3b 100644 --- a/docs/simplesamlphp-install.md +++ b/docs/simplesamlphp-install.md @@ -27,7 +27,7 @@ Prerequisites ------------- * A web server capable of executing PHP scripts. - * PHP version >= 5.6.0. + * PHP version >= 7.1.0. * Support for the following PHP extensions: * Always required: `date`, `dom`, `hash`, `libxml`, `openssl`, `pcre`, `SPL`, `zlib`, `json`, `mbstring` * When automatically checking for latest versions, and used by some modules: `cURL` @@ -211,8 +211,12 @@ look like this: location ~ ^(?<prefix>/simplesaml)(?<phpfile>.+?\.php)(?<pathinfo>/.*)?$ { include fastcgi_params; fastcgi_pass $fastcgi_pass; - fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; - fastcgi_param SCRIPT_NAME /simplesaml$phpfile; + fastcgi_param SCRIPT_FILENAME $document_root$phpfile; + + # Must be prepended with the baseurlpath + fastcgi_param SCRIPT_NAME /simplesaml$phpfile; + + fastcgi_param PATH_INFO $pathinfo if_not_empty; } } }