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
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 "hello. txt.gz" , "w9");
<?php
$data = "Hello World!";
$gzfile = gzopen(
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