php5 extensions' versions

nox nox at macports.org
Sun Jan 3 04:38:23 PST 2010


Le 3 janv. 2010 à 10:41, Ryan Schmidt a écrit :

> 
> On Dec 27, 2009, at 17:08, Ryan Schmidt wrote:
> 
>> On Dec 27, 2009, at 17:00, nox wrote:
>> 
>>> Is there a particular reason as for why php5-zip (and possibly other extensions) follows php5 versioning even though
>>> they have their own versioning through PECL [1]?
>>> 
>>> Regards.
>>> 
>>> [1] http://pecl.php.net/package/zip
>> 
>> Exclusively because I was not aware the zip extension existed in PECL.
>> 
>> For other extensions that I have found in PECL, they were older versions than the ones available in the PHP source; I understood that the versions in PECL were no longer being maintained, and that the latest version was available in the PHP source.
>> 
>> If that's not the case for zip and other extensions, they can be changed to use the source from PECL. Please file tickets if that's the case. I'm just confused as to why the developers of PHP still bundle it with the PHP source, if newer versions are available elsewhere.
> 
> Upon further investigation, it seems that the PECL version of the zip extension is recommended for use with PHP 4:
> 
> http://us.php.net/manual/en/zip.installation.php
> 
> For PHP 5.3, the version in the PHP source archive should be fine.
> 
> I've compared the source of the zip extension in the php-5.3.1 and zip-1.10.2 archives and they're similar, but slightly different. It's hard to tell, but I believe the version in the PHP source is newer than the one in the standalone extension source, so I don't believe a change is needed in the php5-zip port at this time. Of course if you have information to the contrary please let me know.
> 

You're totally right, it seems there are some memory leaks fixed in src/ext/ which are not in pecl/.



More information about the macports-dev mailing list