I installed zabbix 6.2 on apache2 and php8.1 I get the following error in apache log:
May be this function has been deprecated since 7.x .
How do I solve this problem?
Code:
[Thu Jul 14 03:53:24.117248 2022] [php:error] [pid 27466] [client 127.0.0.1:34640] PHP Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_gpc() in /var/www/html/zabbix/include/defines.inc.php:941\nStack trace:\n#0 /var/www/html/zabbix/include/classes/core/ZBase.php(80): require_once()\n#1 /var/www/html/zabbix/include/classes/core/ZBase.php(118): ZBase->init()\n#2 /var/www/html/zabbix/include/config.inc.php(32): ZBase->run()\n#3 /var/www/html/zabbix/index.php(26): require_once('...')\n#4 {main}\n thrown in /var/www/html/zabbix/include/defines.inc.php on line 941
How do I solve this problem?
Comment