PDA

View Full Version : Call to undefined function gzfile


jmfowler
7th March 2008, 20:37
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.

jmfowler
12th March 2008, 20:56
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.

naparuba
13th March 2008, 09:42
Which Linux distribution are you using?

jmfowler
13th March 2008, 18:48
Which Linux distribution are you using?

I'm using RHEL4 and I manually installed/configured PHP 5.25

:o