Obsolete PHP Directives

Although these 2 PHP directives have been deprecated for some time, your site will become unavailable if they are still in use with PHP 7.2.16
A 500 – Internal Server Error message will occur.

Remove these 2 lines from any .user.ini or php.ini files in your website:
register_globals = on
register_long_arrays = on

If your website inexplicably has stopped working, check the error_log file on the server for the following type of show-stopping message:
PHP Fatal error: Directive ‘register_globals’ is no longer available in PHP in Unknown on line 0

Share this post:
Share on Twitter Button   Share on Facebook Button   Share on LinkedIn Button   Share on Reddit Button

david

A developer with more than a decade of professional programming experience on multiple platforms. Windows (Win32 through .NET), as well as Web technologies.