[🔴LIVE] How to Stop PHP warning messages and display only errors?

Published: 18 October 2022
on channel: Red Server Host
1,102
7

Today in this video we will show you how to remove warning messages in PHP and display only error.

Follow the steps given below to remove warning messages in PHP and display only error on cPanel/WHM server:
Step::1 Login to WHM
Step::2 Navigate to Software
Step::3 Click on MultiPHP INI Editor
Step::4 Select the PHP version
Step::5 Jump on to the Editor Mode and press ctrl+f to find error_reporting
Step::6 The default value should be something like mentioned below
error_reporting= E_ALL & ~E_NOTICE
Step::7 In the same manner search for "log_error"
Step::8 The value should be something like mentioned below
log_errors=ON
Step::9 Again in the same manner search for "display_errors"
Step::10 The value should be something like mentioned below
display_errors=OFF
That's it!!!
If you are a normal cPanel user, then you can do this settings by following the steps given below:
Step::1 Login to cPanel
Step::2 Navigate to MultiPHP INI Editor in Software section
Step::3 Jump to the Editor Mode and select the location from the drop-down
Step::4 Repeat the same task mentioned above from Step No. 5
That's it!!!


For more information, kindly follow us on social media like Twitter and Facebook and for video tutorials, subscribe to our YouTube channel -   / redserverhost.com  

Facebook Page-   / redserverhost  
Twitter Page-   / redserverhost.com  
Official Website- https://redserverhost.com

If you have any query, feel free to let us know via the comments section below.


Watch video [🔴LIVE] How to Stop PHP warning messages and display only errors? online without registration, duration hours minute second in high quality. This video was added by user Red Server Host 18 October 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,10 once and liked it people.