php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56796 [PHP 5.1.2] php_zip.dll error
Submitted: 2006-01-24 13:26 UTC Modified: 2008-07-13 18:18 UTC
From: samuel dot l at mushicrew dot com Assigned: pajoye (profile)
Status: Not a bug Package: zip (PECL)
PHP Version: 5.1.2 OS: MS Windows XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: samuel dot l at mushicrew dot com
New email:
PHP Version: OS:

 

 [2006-01-24 13:26 UTC] samuel dot l at mushicrew dot com
Description:
------------
Hi there,

I've downloaded the latest compiled version (2006-01-24 17:01:07) of php_zip.dll  for my PHP version (5.1.2) in the PECL4WIN section here: http://pecl4win.php.net/ext.php/php_zip.dll

The extension seems to be loaded (php_info() return a zip section with "zip enabled"), but the zip functions aren't available.

Reproduce code:
---------------
<?php
$zip = zip_open(ZIP_FILE_ABSOLUTE_PATH);
if($zip)
    echo "Zip open";
else
    echo "Error";
?>

Expected result:
----------------
"Zip open" (if the path is correct)

Actual result:
--------------
Fatal error: Call to undefined function zip_open() in C:\Server\www\prof\fairy\test.php on line 1

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-01-24 13:28 UTC] samuel dot l at mushicrew dot com
With the PHP 5.1.1 version of php_zip.dll, everything is working.

(I have of course correctly uncomment the extension line in php.ini too)
 [2006-02-16 15:20 UTC] developer at bigpikture dot com
In addition to saying "me too" - We'd love to see a fix since 
we can't resolve this security issue --->  http://
vdb.dragonsoft.com/detail.php?id=2403

without the loss of zip facilities.
 [2006-02-17 15:19 UTC] pierre dot php at gmail dot com
5.1.2 snapshot dlls contain the current Zip CVS. The CVS version is a complete rewrite, it adds write support and an OO interface. It is not yet compatible with the old version.
 [2006-02-17 15:20 UTC] pierre dot php at gmail dot com
Sorry, but your problem does not imply a bug in PECL itself.  For a
list of more appropriate places to ask for help using PECL, please
visit http://pecl.php.net/support/ as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PECL.

bogus it as it not a pecl/zip bug per se.
 [2006-02-28 21:05 UTC] pierre dot php at gmail dot com
For the record, the old API has been added in the last release (1.1.0-alpha).

The dll should be available soon.
 [2008-07-13 18:14 UTC] led_zeppelin46 at hotmail dot com
Is this function supporting only absolute urls/filepaths, as this is going to be frustrating!!

M
 [2008-07-13 18:18 UTC] pierre dot php at gmail dot com
Use the new API then, http://www.php.net/zip
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Jul 10 22:01:25 2020 UTC