Waldo_Nell
April 19th, 2014, 03:41 AM
I have just upgraded from Ubuntu 12.04.4 LTS to 14.04. Part of that was to upgrade Apache 2.2 to 2.4 and PHP5 to 5.2.9.
Since the upgrade I keep on getting gzopen() failures:
root@xxx:~ # cat file.php
<?php
$handle = gzopen('/tmp/main.gz','w9');
?>
root@xxx:~ # php5 file.php
PHP Fatal error: Call to undefined function gzopen() in /tmp/file.php on line 3
root@xxx:~ # php5 -i | grep -i --color zlib
Registered PHP Streams => https, ftps, compress.zlib, compress.bzip2, php, file, glob, data, http, ftp, phar, zip
Registered Stream Filters => zlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk
ZLib Version => 1.2.8
zlib
ZLib Support => enabled
Stream Wrapper => compress.zlib://
Stream Filter => zlib.inflate, zlib.deflate
zlib.output_compression => Off => Off
zlib.output_compression_level => -1 => -1
zlib.output_handler => no value => no value
Since the upgrade I keep on getting gzopen() failures:
root@xxx:~ # cat file.php
<?php
$handle = gzopen('/tmp/main.gz','w9');
?>
root@xxx:~ # php5 file.php
PHP Fatal error: Call to undefined function gzopen() in /tmp/file.php on line 3
root@xxx:~ # php5 -i | grep -i --color zlib
Registered PHP Streams => https, ftps, compress.zlib, compress.bzip2, php, file, glob, data, http, ftp, phar, zip
Registered Stream Filters => zlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk
ZLib Version => 1.2.8
zlib
ZLib Support => enabled
Stream Wrapper => compress.zlib://
Stream Filter => zlib.inflate, zlib.deflate
zlib.output_compression => Off => Off
zlib.output_compression_level => -1 => -1
zlib.output_handler => no value => no value