Fatal error: Call to undefined function ctype_digit() and bcscale() on "setup.php" without some PHP extensions

XMLWordPrintable

    • Type: Incident report
    • Resolution: Fixed
    • Priority: Major
    • 2.0.1rc1, 2.1.0
    • Affects Version/s: 2.0.0rc5
    • None
    • Environment:
      I suppose any, errors from Zabbix 2.0.0rc5 with PHP 5.3.13

      I'm trying to open "setup.php" page when two required PHP extensions ctype.so OR bcmath.so is NOT loaded and I'm receiving just single-line errors:

      ;extension=ctype.so ->
      Fatal error: Call to undefined function ctype_digit() in /zab/www-dev/zabbix20/include/func.inc.php on line 635

      ;extension=bcmath.so ->
      Fatal error: Call to undefined function bcscale() in /zab/www-dev/zabbix20/include/defines.inc.php on line 915

      According to logic that "setup.php" has been designed to be able at least perform the step "2. Check of pre-requisites" (where availability of those PHP extensions is checking) current behavior is ... wrong

            Assignee:
            Unassigned
            Reporter:
            Oleksii Zagorskyi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: