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

Installation of 1.8.3 with php 5.1.6

    XMLWordPrintable

Details

    • Incident report
    • Status: Closed
    • Minor
    • Resolution: Cannot Reproduce
    • 1.8.3
    • 1.8.6
    • None
    • Linux RHEL5.4, PHP 5.1.6

    Description

      1. This version of PHP seems unwilling/unable to raise the post_max_size variable. Various, repeated attempts show that it is "stuck" at 8MB. The upload_max_filesize paramater does not have this problem. While this isn't a problem with Zabbix, the fix is to change include/requirements.inc.php so that check_php_post_max_size() allows $required to 8 MB.

      2. the db.inc.php snippet fails at getSchema()... include(self::SCHEMA_FILE) unless the php_include_path is set to include the zabbix/include directory. This is not documented anywhere. This can be in the INI file, but for safety, it is better to put this in either a .htaccess file or as a virtual host configuration directive in the HTTP configuration:

      <virtualhost zabbix.internal>
      ...
      php_value include_path ".:/usr/share/zabbix/include:/usr/share/pear"
      </virtualhost>

      Attachments

        Activity

          People

            Unassigned Unassigned
            otheus Otheus
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: