

If it’s consuming excessive server resources, a plugin is broken, or pages don’t load, the logs can tell you why.

Error logs are a time-ordered list of these messages.Įrror logs are incredibly useful for figuring out why WordPress isn’t behaving as you think it should. Either way, the developers want to let you know, so they write code to log a message to a file. A line of code might have a typo in it, or the code might be fine, but something unexpected happens when it’s executed. WordPress is written in PHP, so it handles WordPress’s error messages and logging.Įrrors occur for lots of reasons. What is a PHP Error Log?Ī PHP error log lists warnings and error messages, which are generated by the language runtime and saved to a file. In this article, we describe what PHP error logs are and why they’re useful, before explaining how to use cPanel & WHM to activate and configure both WordPress logs and the PHP runtime’s logging functionality. PHP error logs, including WordPress logs, can help you to spot problems and identify the offending plugin, theme, or custom code.

It’s often difficult to find the cause of unexpected behavior in WordPress® and other PHP applications. Here's a link to WordPress's open source repository on GitHub.Īccording to the StackShare community, WordPress has a broader approval, being mentioned in 6328 company stacks & 6517 developers stacks compared to cPanel, which is listed in 16 company stacks and 13 developer stacks.PHP error logs are one of the most useful tools for diagnosing web hosting issues. WordPress is an open source tool with 12.7K GitHub stars and 7.78K GitHub forks. Over 60 million people have chosen WordPress to power the place on the web they call “home” - we’d love you to join the family.ĬPanel can be classified as a tool in the "Server Configuration and Automation" category, while WordPress is grouped under "Self-Hosted Blogging / CMS". The core software is built by hundreds of community volunteers, and when you’re ready for more there are thousands of plugins and themes available to transform your site into almost anything you can imagine. What is WordPress? A semantic personal publishing platform with a focus on aesthetics, web standards, and usability. It is globally empowering hosting providers through fully-automated point-and-click hosting platform by hosting-centric professionals. It is an industry leading hosting platform with world-class support. What is cPanel? Create an exceptional hosting experience. CPanel vs WordPress: What are the differences?
