Where to Find PHP Error Logs in Plesk
In Plesk, open Websites & Domains, select the affected site, then open Logs if available. Filter around the request timestamp. PHP can write to a separate log for its active handler. If the entry is missing, check the effective error_log setting or ask the host where that site’s PHP errors are written.
Start with one safe request
Record the site, URL, time and exact visible symptom. Use a read-only page where possible so diagnosis does not repeat a payment, order or other write. Confirm whether the failure affects one page or the whole site. On shared hosting, use the site's scoped log viewer or ask the provider which file receives PHP messages for that subscription.
PHP can log errors without showing them to visitors. In production, keep display_errors disabled and use appropriate error_reporting and log_errors settings. Confirm where error_log points for the web runtime you are using. Command-line PHP may load different settings from the runtime serving browser requests. Avoid placing a diagnostic page or a log file in a publicly accessible path.
Read the first useful error
Find entries around the observation time and check which virtual host and request they match. The first fatal error in a sequence can explain later warnings. A missing include suggests checking the deployed file and path. A memory limit message calls for reproducing and measuring that request before raising limits. If the web server reports a gateway error and PHP has no matching entry, check whether the request reached the correct worker.
Inspect a copy or test environment for detailed traces where possible. If you send evidence to an operator, include software versions, the observation time and the relevant line with any secrets or private data removed.
Review the change after fixing it
Verify the same page under the same conditions and check that the log does not show the error again. Keep production display settings off and remove temporary diagnostics that are no longer needed. If you cannot reach a log or modify the runtime, give the provider the precise error window and a reproducible read-only path.
If the site runs WordPress, follow the WordPress media-upload checks for file failures or the plugin compatibility checklist if the failure started after a PHP change.
Related resources
- How to Troubleshoot 502, 503 and 504 Website Errors
- How to Update WordPress Safely
- How to Upload Website Files with Plesk File Manager
Official references
Ferkesh Hosting. Last reviewed .
Thanks for your feedback!