Created attachment 1879826 [details] zabbix web page Description of problem: Zabbix 5.0.21 doesn't work properly together with PHP 8.1.5. It shows everywhere: mysqli::real_connect(): Passing null to parameter #7 ($flags) of type int is deprecated [zabbix.php:21 → require_once() → ZBase->run() → ZBase->initDB() → DBconnect() → MysqlDbBackend->connect() → mysqli->real_connect() in include/classes/db/MysqlDbBackend.php:173] setcookie(): Passing null to parameter #5 ($domain) of type string is deprecated [zabbix.php:21 → require_once() → ZBase->run() → ZBase->authenticateUser() → CWebUser::checkAuthentication() → CWebUser::setSessionCookie() → zbx_setcookie() → setcookie() in include/func.inc.php:107] Version-Release number of selected component (if applicable): Zabbix 5.0.21 How reproducible: Just install zabbix-server-mysql and php packages from distribution.
*** This bug has been marked as a duplicate of bug 2020292 ***