{"id":7969,"date":"2026-02-11T10:38:36","date_gmt":"2026-02-11T10:38:36","guid":{"rendered":"https:\/\/www.hostinger.com\/support\/?p=7969"},"modified":"2026-10-07T02:20:02","modified_gmt":"2026-10-07T02:20:02","slug":"php-logs-on-agency-hosting","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/php-logs-on-agency-hosting\/","title":{"rendered":"PHP logs on Agency hosting"},"content":{"rendered":"<p><span style=\"font-weight: 400\">Hostinger <a href=\"https:\/\/www.hostinger.com\/pro\">Agency Hosting<\/a> 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.<\/span><\/p><h2 id=\"h-what-are-php-logs\"><b>What are PHP logs?<\/b><\/h2><p><span style=\"font-weight: 400\">PHP logs capture runtime information about your website&rsquo;s PHP execution, including:<\/span><\/p><ul>\n<li style=\"font-weight: 400\"><b>Fatal errors:<\/b><span style=\"font-weight: 400\"> Critical issues that stop script execution<\/span><\/li>\n<li style=\"font-weight: 400\"><b>Warnings:<\/b><span style=\"font-weight: 400\"> Non-fatal problems that allow scripts to continue<\/span><\/li>\n<li style=\"font-weight: 400\"><b>Notices:<\/b><span style=\"font-weight: 400\"> Minor issues like undefined variables<\/span><\/li>\n<li style=\"font-weight: 400\"><b>Deprecated functions:<\/b><span style=\"font-weight: 400\"> Code using outdated PHP features<\/span><\/li>\n<li style=\"font-weight: 400\"><b>Custom error messages:<\/b><span style=\"font-weight: 400\"> Developer-defined logging<\/span><\/li>\n<\/ul><p><b>Why PHP logs matter:<\/b><\/p><ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Quickly identify and fix website errors<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Debug plugin or theme conflicts<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Monitor site health and performance<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Catch issues before users report them<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Troubleshoot white screen errors<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Track down intermittent problems<\/span><\/li>\n<\/ul><h2 id=\"h-accessing-php-logs\"><b>Accessing PHP logs<\/b><\/h2><ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Log in to your Agency Hosting control panel<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Go to website dashboard&nbsp;<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Navigate to <\/span><b>Advanced<\/b><span style=\"font-weight: 400\"> section<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Click <\/span><b>PHP Logs<\/b><\/li>\n<li style=\"font-weight: 400\">View recent log entries.<\/li>\n<\/ol><p>The PHP Logs page lists each error with its severity, message, count, and last seen time.<\/p><p>Four controls above the log entries narrow the list: search, time period, severity, and source.<\/p><ul>\n<li><strong>Search<\/strong> &ndash; click the <strong>search icon<\/strong> to expand the search bar and search across the logs.<\/li>\n<li><strong>Time period<\/strong> &ndash; open the<strong> All time<\/strong> dropdown to select a preset period or enter a custom date range.<\/li>\n<li><strong>Severity<\/strong> &ndash; open the <strong>All severities<\/strong> dropdown to filter by severity level, such as Fatal error or Warning.<\/li>\n<li><strong>Source<\/strong> &ndash; open the <strong>All sources<\/strong> dropdown to filter by where the error comes from, such as WordPress core or a plugin.<\/li>\n<\/ul><p><img decoding=\"async\" class=\"alignnone size-full wp-image-19716\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-07_09-19.png\" alt=\"\" width=\"664\" height=\"652\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-07_09-19.png 664w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-07_09-19-300x295.png 300w\" sizes=\"(max-width: 664px) 100vw, 664px\" \/><\/p><p>Reviewing your PHP logs regularly helps you catch and resolve issues before they affect your visitors. For more on your plan&rsquo;s features, see <a href=\"https:\/\/www.hostinger.com\/support\/10656861-hostinger-agency-hosting-plans-how-to-get-started\/\">how to get started with Hostinger Agency Hosting plans.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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,&#8230;<\/p>\n","protected":false},"author":596,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[294],"tags":[],"class_list":["post-7969","post","type-post","status-publish","format-standard","hentry","category-agency-hosting-plans"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/php-logs-on-agency-hosting","default":1}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/7969","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/596"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=7969"}],"version-history":[{"count":6,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/7969\/revisions"}],"predecessor-version":[{"id":19717,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/7969\/revisions\/19717"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=7969"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=7969"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=7969"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}