Symptoms
The apache error log may be flooded with warnings similar to the following:
PHP Deprecated: Directive 'allow_url_include' is deprecated in Unknown on line 0'
Description
This is the result of websites on the server using code that makes use of the allow_url_include function. This function was deprecated in PHP 7.4.
Workaround
To get around the warning populating the error logs you, please consider the following:
1. Downgrade the site's version of PHP.
2. Work with your website developer or system administrator to update or rewrite the code of any sites producing the warnings.
3. Disable deprecation warnings (See: How do I disable PHP Deprecated warnings?)
Additionally, this notice is just a warning and not a fatal PHP error. Site functionality should resume as normal. Should you choose to update the code to work around or resolve the issue, please be sure to reach out to the website developer or system administrator for further assistance.
If you do not have such an administrator, you may search for one in our listings here:
Comments
0 comments
Article is closed for comments.