php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39108 Snaps and pecl4win have the same files.
Submitted: 2006-10-10 11:24 UTC Modified: 2006-10-10 13:28 UTC
From: RQuadling at GMail dot com Assigned: edink (profile)
Status: Not a bug Package: Website problem
PHP Version: Irrelevant OS: Windows XP SP2
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: RQuadling at GMail dot com
New email:
PHP Version: OS:

 

 [2006-10-10 11:24 UTC] RQuadling at GMail dot com
Description:
------------
I regularly download http://snaps.php.net/win32/php5.2-win32-latest.zip and http://pecl4win.php.net/get_all.php/5_2/pecl4win_5_2.zip.

The extension php_zip.dll is in both archives. And, at a binary level, they are significantly different.

The tail for both files is ...

(PECL4Win) C:\php4build\php-5.2.0-dev\Release_TS\php_zip.pdb

and

(Snaps) c:\php4build\snap\Release_TS\php_zip.pdb

A few other text strings in the files ...

(PECL4Win) $Id: php_zip.c,v 1.80 2006/10/07 22:59:38 bjori Exp $

and

(Snaps) $Id: php_zip.c,v 1.1.2.15 2006/09/24 22:27:57 pajoye Exp $


There was another file, but today it is not present. I THINK it was php_odbc.dll.

Now. Using CVS with a tag for PHP_5_2, the most recent version number of php_zip.c is the only shown for Snaps (1.1.2.15) (See http://cvs.php.net/viewvc.cgi/php-src/ext/zip/?pathrev=PHP_5_2)

So. Is the extension within the 5.2 PECL4Win site supposed to be there?

Where is PECL4Win getting its code from? I can see a V1.8 php_zip.c (http://cvs.php.net/viewvc.cgi/php-src/ext/zip/php_zip.c?view=log about half way down). This is in the HEAD branch. But this branch has been updated several times since then (1.9 through to 1.17 on 2/10/2006).

This would suggest that the PECL4Win is using an old version of the source?






Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-10-10 12:13 UTC] edink@php.net
Pecl4win always uses latest and the greatest sources (HEAD branch), while snaps uses whatever is bundled with a particular version.
 [2006-10-10 12:19 UTC] RQuadling at GMail dot com
I now understand that snaps is version specific and PECL4Win uses the HEAD, but in this instance the php_zip.c is an old version of HEAD.

And if php_zip.dll is now bundled with PHP, should it still be  available for PECL?

In both cases, I'm using 5.2 (I assume HEAD works out as being for V6 ?)

If PECL4Win is using HEAD, how can it provide versions other than HEAD (V6.0 ?)

My issue is either the extension shouldn't be available via PECL for 5.2 as it is now bundled or that it should be the same version as both say 5.2 on the outside (as such).
 [2006-10-10 13:23 UTC] pajoye@php.net
"And if php_zip.dll is now bundled with PHP, should it still 
be available for PECL?"

Indeed it will continue to be available through pecl. php 5.2.0 is not yet released and will not be the most used released in a near future.

The PHP snaphots use php-src. The pecl4win dlls come from pecl/. In the case of the zip extension, it is two separate trees. One in pecl/zip and another in php-src/ext/zip.

There is a version information (an extension version, not a cvs Id) available, use it as reference.
 [2006-10-10 13:28 UTC] RQuadling at GMail dot com
Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 12:01:29 2024 UTC