Introduction
This article will cover how to disable PHP Deprecated warnings similar to the following:
PHP Deprecated: Directive 'allow_url_include' is deprecated in Unknown on line 0
Procedure
1. Log into WHM.
2. Go to WHM » Home » Software » MultiPHP INI Editor.
3. Click the Editor Mode tab.
4. Choose the PHP version from the dropdown.
5. Find the "error_reporting" section and add the following line:
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
6. Save changes.
PHP-FPM Procedure:
1. Navigate to "WHM / MultiPHP Manager / User Domains"
2. Search for the domain in question and click "PHP-FPM Settings".
3. In the "Error Reporting" field, input the following:
E_ALL & ~E_NOTICE & ~E_DEPRECATED
4. Click "Update" to save your changes.
Comments
0 comments
Article is closed for comments.