Hostinger Agency Hosting lets you access PHP logs to record errors, warnings, and notices generated by PHP scripts on your website, helping you debug issues, monitor site health, and identify problems before they impact your visitors.
What are PHP logs?
PHP logs capture runtime information about your website’s PHP execution, including:
- Fatal errors: Critical issues that stop script execution
- Warnings: Non-fatal problems that allow scripts to continue
- Notices: Minor issues like undefined variables
- Deprecated functions: Code using outdated PHP features
- Custom error messages: Developer-defined logging
Why PHP logs matter:
- Quickly identify and fix website errors
- Debug plugin or theme conflicts
- Monitor site health and performance
- Catch issues before users report them
- Troubleshoot white screen errors
- Track down intermittent problems
Accessing PHP logs
- Log in to your Agency Hosting control panel
- Go to website dashboard
- Navigate to Advanced section
- Click PHP Logs
- View recent log entries.
The PHP Logs page lists each error with its severity, message, count, and last seen time.
Four controls above the log entries narrow the list: search, time period, severity, and source.
- Search – click the search icon to expand the search bar and search across the logs.
- Time period – open the All time dropdown to select a preset period or enter a custom date range.
- Severity – open the All severities dropdown to filter by severity level, such as Fatal error or Warning.
- Source – open the All sources dropdown to filter by where the error comes from, such as WordPress core or a plugin.
Reviewing your PHP logs regularly helps you catch and resolve issues before they affect your visitors. For more on your plan’s features, see how to get started with Hostinger Agency Hosting plans.
