- Plesk for Linux
The following message is shown when accessing a php page on a website:
CONFIG_TEXT: File not found
The following error can be found in
CONFIG_TEXT: [error] 25447#0: *81946 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 203.0.113.2, server: example.com, request: "GET /filename.php HTTP/2.0", upstream: "fastcgi://unix:///var/www/vhosts/system/example.com/php-fpm.sock:", host: "example.com", referrer: "https://example.com/"
The requested PHP file is missing in the website directory.
Make sure the requested file is present in the website directory path specified in the error message.
Note: Pay attention to upper / lowercase letters in the file path as PHP is case-sensitive in Linux.