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.
Смотрите видео [🔴LIVE] How to Stop PHP warning messages and display only errors? онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Red Server Host 18 Октябрь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,102 раз и оно понравилось 7 людям.