Comment 0 for bug 432291

Revision history for this message
bellbind (bellbind) wrote :

Binary package hint: php5

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

The error does not occur on php5 5.2.6.dfsg..1-3ubuntu4.2 (jaunty package)

----

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

Fatal error: Call to undefined function gzopen() in /home/bellbind/experiment/php/gz/sample.php on line 3

$ lsb_release -rd
Description: Ubuntu karmic (development branch)
Release: 9.10