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

bellbind bellbind at gmail.com
Fri Sep 18 07:50:46 BST 2009


Public bug reported:

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

** Affects: php5 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
"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