php5 extensions' versions
Ryan Schmidt
ryandesign at macports.org
Sun Jan 3 01:41:24 PST 2010
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.
More information about the macports-dev
mailing list