[Bug 432291] Re: "Fatal error: Call to undefined function gzopen()" on php5 5.2.10.dfsg.1-2ubuntu3

bellbind bellbind at gmail.com
Wed Oct 14 04:00:25 BST 2009


The bug is NOT zlib link problem because it can open gz files with
"fopen" for example:

<?php
$gzfile = fopen("compress.zlib://hello.txt.gz", "w");
fwrite($gzfile, "hello world!");
fclose($gzfile);
?>

is work well on released binaries. BUT "gzopen" is not defined in php5
binaries it cannot run:

<?php
$data = "Hello World!";
$gzfile = gzopen("hello.txt.gz", "w9");
gzwrite($gzfile, $data);
gzclose($gzfile);
?>

-- 
"Fatal error: Call to undefined function gzopen()" on php5 5.2.10.dfsg.1-2ubuntu3
https://bugs.launchpad.net/bugs/432291
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.



More information about the Ubuntu-server-bugs mailing list