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

Re: [PHP] Standard placement of PHP libraries?

On Thu, Oct 03, 2002 at 08:52:41PM +0200, Jonas Meurer wrote:
> On 03/09/2002 Matthew Palmer wrote:
> > We'll wait and see what the PHP mini-policy comes out with before we go
> > shifting ourselves all over the place, but I think this much is BCP:

> > 1) All PHP code intended to be used by other programs (outside the original
> > package) should go into /usr/share/php directly;

> > 2) No /usr/share/php/<packagename> will be used;

> > 3) Naming conflicts (and there will be some, I'm sure) will be sorted out
> > by dpkg and pistols at 30 paces.  <grin>

> Why? /usr/share/php/<packagename> would solve the problem in 3), and you
> could easily include with 'include "<packagename>/file.inc"'. What is
> the reason to through this idea away?

It mandates an unnecessary standard for resolving namespace conflicts,
and it is incompatible with upstream naming conventions in the PEAR
repository (where PEAR is increasingly equivalent to CPAN).

Steve Langasek
postmodern programmer

Attachment: pgpH1eMsRjHiz.pgp
Description: PGP signature

Reply to: