Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-23403

Check for pre-requisites screen not shown when php mbstring is not installed

XMLWordPrintable

      Steps to reproduce:

      HTTP 500 error is displayed when trying to access setup.php without php mbstring installed.
      OS: debian 12.2
      Zabbix: 7.0 (possibly other versions impacted).

      Result:
      Apache error log:

      [Wed Sep 13 03:02:36.828331 2023] [php:error] [pid 10379] [client 192.168.6.105:50955] PHP Fatal error:  Uncaught Error: Call to undefined function mb_check
      _encoding() in /var/www/html/include/validate.inc.php:221\nStack trace:\n#0 /var/www/html/include/validate.inc.php(348): check_type()\n#1 /var/www/html/incl
      ude/validate.inc.php(429): check_field()\n#2 /var/www/html/include/validate.inc.php(453): check_fields_raw()\n#3 /var/www/html/setup.php(76): check_fields()
      \n#4 {main}\n  thrown in /var/www/html/include/validate.inc.php on line 221, referer: http://192.168.6.106/setup.php
      

      Expected:
      Please show zabbix "Check for pre-requisites" screen with corresponding info on php mbstring.

            zabbix.dev Zabbix Development Team
            morinskis Martins Orinskis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: