Updated: 28 September 2026 · Applies to: cPanel & WHM 138 (Jupiter theme)
Showing PHP errors in the browser helps while developing. Never leave it on for a live site, because errors reveal details of your code.
cPanel
- Log in to cPanel (for example at
https://yourdomain.com:2083, or from the Ucartz client area). - Open Software › MultiPHP INI Editor and choose the domain.
- Set display_errors to Enabled and click Apply.
In your own code (temporarily)
ini_set('display_errors', '1');
error_reporting(E_ALL);
Turn it off again when you are done; the errors are still written to the error_log file.