1️⃣ Enable Display Errors using MultiPHP INI Editor (cPanel)

 
 
https://www.inmotionhosting.com/support/images/stories/cpanel/MultiPHP_INI_Editor/MultiPHP_INI_Editor_basicModeApplyHighlight.png

Steps

  1. Log in to cPanel

  2. Open MultiPHP INI Editor

  3. Select your domain

  4. Set:

    • display_errorsOn

    • display_startup_errorsOn

    • log_errorsOn

    • error_reportingE_ALL

  5. Click Apply

Result

Errors will immediately show in the browser for that domain.


2️⃣ Enable Display Errors using PHP Selector (CloudLinux)

 
https://knowledgebase.extilum.com/wp-content/uploads/2021/11/extilum_cpanel_software_php-selector_04.jpg
 
This method works only if your server uses CloudLinux.

Steps

  1. Log in to cPanel

  2. Open Select PHP Version

  3. Click Options

  4. Change:

    • display_errorsOn

    • display_startup_errorsOn

    • error_reportingE_ALL

  5. Save automatically applies

Optional (Extensions tab)

Enable:

  • xdebug (for advanced debugging)

Was this answer helpful? 0 Users Found This Useful (0 Votes)