Announcement

Collapse
No announcement yet.

Call to undefined function gzfile

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Call to undefined function gzfile

    Hi,

    Whether I upload a tar file for template based upload, or whether I just try to upload my nagios.cfg file, I get the following error:

    Fatal error: Call to undefined function gzfile() in /local/centreon/www/include/configuration/configLoad/formLoadFiles.php on line 123

    I added a blank line at the beginning of my nagios.cfg file to see if it would work, but I still get the error.

  • #2
    Solved gzfile issue

    Hi,

    Just in case you're wondering how to resolve this problem, you need to do a ./configure in php installation using the "--with-zlib" option.

    Comment


    • #3
      Which Linux distribution are you using?
      Auteur de Shinken, outil de supervision compatible avec Nagios et orientée supervision distribuée hautement disponible et mulitplateforme.

      Comment


      • #4
        Originally posted by naparuba View Post
        Which Linux distribution are you using?
        I'm using RHEL4 and I manually installed/configured PHP 5.25

        Comment

        Working...
        X