[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PHP Policy Draft: API version



On 2006-04-27, Pierre Habouzit <madcoder@debian.org> wrote:
> Not really, phpapi-XXXXXX is the ABI the module has been built against.
> and when a php release change its phpapi version, every single binary
> module has to be rebuilt.
>
> when phpapi changes there is problems at least with:
>  * the ABI (I suppose)
>  * the path (php modules live in /usr/lib/php?/XXXXXXX)
>
> hence the strict depends, because when the phpapi changes, the new php
> does not even look in the old path (which is rather sane if ABI changed
> enough ;p)

Indeed, but the new PHP package will now provide phpapi-YYYYYYYY instead
of phpapi-XXXXXXXX so a user wouldn't be able to upgrade PHP without
upgrading (or uninstalling) the module because that would leave the
module with unsatisfied dependencies (i.e. phpapi-XXXXXXXX).  The
phpN-common dependency doesn't seem to make a difference...

Cheers,
    Olly



Reply to: