From a73202e125810e296790a91da447b1843db25acf Mon Sep 17 00:00:00 2001 From: Holger Woltersdorf Date: Tue, 29 Jan 2019 00:05:53 +0100 Subject: [PATCH] Update documentation, add hint for new ProcessManagerException, #26 --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6b817bd..0e72e33 100644 --- a/README.md +++ b/README.md @@ -684,8 +684,15 @@ echo $response->getDuration(); # e.g. 0.0016319751739502 ### "File not found." response -If you're facing a `File not found.` response after issuing a request to PHP-FPM, please make sure -the given path to the script you want to call is an absolute path / realpath. +This response is generated by php-fpm for the preceding error `Primary script unknown` in case the requested script +does not exists or there are path traversals in its path like `/var/www/../run/script.php`. + +**This error throws a `ProcessManagerException` from library version `2.5.0` onwards.** + +Prior to library version `2.5.0` this error is ignored and only present as the `File not found.` response. + +If you're facing the aforementioned exception or a `File not found.` response after issuing a request to php-fpm, +please make sure the given path to the script you want to call is an existing absolute path / realpath. ### Doesn't work