• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
NameHero® Blog

NameHero® Blog

Web Hosting Tips & Resources From NameHero

  • AI Agents
    • OpenClaw
    • Claude Code
    • n8n
    • Hermes Agent
    • Open WebUI
    • Docker
  • Hosting
    • Web Hosting
    • WordPress Hosting
    • WooCommerce Hosting
    • Enterprise Hosting
    • Email Hosting
    • HeroicGuard
    • GPU Hosting
    • Website Builder
  • VPS
    • Managed VPS
    • Unmanaged VPS
    • Flex VPS
  • Reseller
  • Gaming
  • Domains
  • Account
  • Blog Home
  • Categories
  • Authors

How To Enable PHP Error Log In cPanel

Ryan Gray

Published on: June 21, 2020

Categories: Web Hosting 0

An important component to troubleshooting code on your website is to check the PHP error log for errors. This is where PHP warnings and/or errors are displayed. One question we often get from clients is How do I enable the PHP error log in cPanel?

This simple process will allow you to monitor errors and allow you to troubleshoot them.

PHP errors are found in the system log, in an inline with program execution or by using error monitoring tools.

In this blog, I am going to show you how to enable PHP error logging in cPanel. This is a quick and easy way to ensure the PHP error log is enabled so you can track any problems. Enabling this feature literally takes less than 30 seconds.

Steps to Enable PHP Error Log

The first step will be to login to the Client Area. Once logged in, Access cPanel. After you are in cPanel, scroll down to Software and go to Select PHP version.

Select PHP Version

Left click on the option and your screen will look like this:

PHP Extensions

By default, you will be on the PHP Extensions screen, as seen in the image above. Tick the option next to “Extensions” where it says “Options.”

PHP Options

Left click this option and you will be on the PHP Options screen. Locate the error_reporting field and ensure this is set to E_ALL. If you left click this field, a drop down menu will populate and you will be given the following options:

Enable Error Reporting

Ensure E_All has a checkmark by it. Once selected, you will receive a green “Success” notification that your changes have been saved.

Error log reporting enabled

Once you have received the green “Success” notification, PHP error reporting has been enabled. Now, you will be able to view warnings and/or errors that are populated in the PHP error log.

Ryan Gray

Ryan Gray is the founder and CEO of NameHero, one of the fastest growing independent web hosts in the United States. Ryan has been working online since 1998 and has over two-decades experience in Internet Entrepreneurship.

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Follow & Subscribe

Exclusive promos, content and more!


Most Popular Posts

NameHero’s Recommended WordPress Plugin and Theme Setup

WordPress Hosting vs. Web Hosting – What’s The Difference?

How To Increase The InnoDB Buffer Pool Size

How To Fix A Stuck All-in-One WP Migration Import

How To Add A Subdomain In Cloudflare

Top Categories

  • WordPress
  • WordPress Tutorials
  • OpenClaw Hosting
  • Enterprise Hosting
  • WooCommerce
  • Web Hosting
  • Resellers
  • Website Security
  • Website Development
  • Website Performance
  • VPS Hosting
  • SEO Tips
  • Announcements
  • Domain Registration
NameHero

NameHero® proudly provides web hosting to over 40,000 customers with 99.9% uptime to over 750,000 websites.

  • Master Card
  • Visa
  • American Express
  • Discover
  • Paypal
Products
  • Web Hosting
  • Managed VPS Hosting
  • Unmanaged VPS Hosting
  • Flex VPS Hosting
  • WordPress Hosting
  • WooCommerce Hosting
  • Reseller Hosting
  • Enterprise Hosting
  • GPU Hosting
  • Email Hosting
  • HeroicGuard
  • Domains
  • Website Builder
  • AI Agent Hosting
Help & Support
  • NameHero Blog
  • NameHero Gaming Blog
  • Support
  • Help Center
  • Migrations
  • Affiliates
  • Gaming Affiliates
  • Call 1-855-984-6263
Company
  • About Us
  • Contact Sales
  • Reviews
  • Uptime
  • We're Hiring

Copyright © 2026 Name Hero, LLC. All rights reserved.
NameHero® is a registered trademark.

  • Privacy Policy
  • Terms of Use
  • Acceptable Use Policy
  • Payment Policy
  • DMCA