Click to See Complete Forum and Search --> : Call to undefined function: gzcompress()


Ali Imran
08-20-2003, 11:40 AM
Fatal error: Call to undefined function: gzcompress() in C:\web\defaults.php on line 14


How come it ways ?

Is it disabled in the ini file or what ?

I am on windows 98 testing php locally...

plese post solution how to activate it to use...

regards
Ali Imran

Khalid Ali
08-20-2003, 11:52 AM
The php docs say you do not need to ldo anything special to load this lib,

hre is the link

http://no2.php.net/manual/en/ref.zlib.php

It may help you find your answer

Ali Imran
08-26-2003, 09:21 PM
Mr. Khalid I cannot get the gz compression liberary working on my computer.

look I have windows 98 and i have installed php and apache on it.

now when I try using gzcompress() and gzuncomprss() fucntions, it gives me error that these functions are not defined, is just because the liberary is not called....

please anyone else to help me ?

Khalid Ali
08-27-2003, 09:03 AM
I can only say that downlad the latest version of the PHP,sicne their documentation says it should work in windows environment without any extra tweaking.