{"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-02-11T10:38:36","modified_gmt":"2026-02-11T10:38:36","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\">PHP logs record errors, warnings, and notices generated by PHP scripts on your website. These logs are essential for debugging issues, monitoring site health, and identifying 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\"><span style=\"font-weight: 400\">View recent log entries<\/span><\/li>\n<\/ol><p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-7970 size-large\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/02\/php-log-1024x517.png\" alt=\"\" width=\"1024\" height=\"517\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/02\/php-log-1024x517.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/02\/php-log-300x151.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/02\/php-log-768x388.png 768w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/02\/php-log-1536x775.png 1536w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/02\/php-log.png 1898w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>PHP logs record errors, warnings, and notices generated by PHP scripts on your website. These logs are essential for debugging issues, monitoring site health, and&#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":[],"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":2,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/7969\/revisions"}],"predecessor-version":[{"id":7972,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/7969\/revisions\/7972"}],"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}]}}