The website on a VPS or dedicated server shows a "No input file specified" error. When encountering the "No input file specified" error with PHP-FPM, it often indicates an issue with the configuration or file path settings. Possible causes include incorrect file permissions, misconfigured PHP-FPM pools or directives, and incorrect file paths specified in the server configuration. Rebuilding the configuration will typically resolve this error.
The error message on the site appears as the following.
No input file specified.
Rebuild Config
IMPORTANT: This solution will require root access. If this needs to be obtained, follow the guide on requesting root access.
- SSH into the server as root
- Execute the following commands
- Rebuild the PHP-FPM configuration with
/scripts/php_fpm_config --rebuild --domain=domain.com
REPLACE: domain.com with the domain name. - Restart PHP-FPM
/scripts/restartsrv_apache_php_fpm
- Rebuild the PHP-FPM configuration with
- Verify the website is functioning
Comments
0 comments
Article is closed for comments.