ISPconfig scripts using deprecated function get_magic_quotes_runtime()
short description
Apache2 log showing PHP warnings concerning use of get_magic_quotes_runtime() deprecated function. /usr/local/ispconfig/interface/lib/config.inc.php on line 48 Apart from generating cruft in the logs, the doc page says this function has always returned FALSE since PHP 5.4.0 and the functionality it tests was removed, so it is possible there are untoward consequences that we do not know about.
correct behaviour
Not do that
environment
Server OS: Ubuntu Server OS version: Bionic Beaver 18.04.5 LTS ISPConfig version: 3.1.15p3
Current ISPconfig has been upgraded via the script over multiple versions, i.e. is not a fresh install
Server version: Apache/2.4.29 (Ubuntu) Server built: 2020-03-13T12:26:16
PHP 7.4.9 (cli) (built: Aug 7 2020 14:29:36) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.9, Copyright (c), by Zend Technologies with Xdebug v2.9.6, Copyright (c) 2002-2020, by Derick Rethans
references
https://www.php.net/manual/en/function.get-magic-quotes-runtime.php
log entries
[Sun Aug 09 07:05:40.013566 2020] [fcgid:warn] [pid 24841] [client 51.194.115.66:53243] mod_fcgid: stderr: PHP Deprecated: Function get_magic_quotes_runtime() is deprecated in /usr/local/ispconfig/interface/lib/config.inc.php on line 48, referer: https$ [Sun Aug 09 07:05:40.013864 2020] [fcgid:warn] [pid 24841] [client 51.194.115.66:53243] mod_fcgid: stderr: PHP Stack trace:, referer: https://:8080/index.php [Sun Aug 09 07:05:40.013868 2020] [fcgid:warn] [pid 24841] [client 51.194.115.66:53243] mod_fcgid: stderr: PHP 1. {main}() /usr/local/ispconfig/interface/web/keepalive.php:0, referer: https://:8080/index.php [Sun Aug 09 07:05:40.013870 2020] [fcgid:warn] [pid 24841] [client 51.194.115.66:53243] mod_fcgid: stderr: PHP 2. require_once() /usr/local/ispconfig/interface/web/keepalive.php:33, referer: https://:8080/index.php