[php-maint] [Webapps-common-discuss] up-to-date policy for PHP PEAR modules
sean finney
seanius at debian.org
Tue Sep 18 16:30:23 UTC 2007
hi gregory,
On Tuesday 18 September 2007 12:33:15 am Gregory Colpart wrote:
> I think /usr/share/php/ should be only for debian-packaged pear
> modules and locally installed pear modules should go to
> /usr/local/php/ or whatever directory (similar to perl policy).
> We should probably change a few things to make easier the deal
> between debian-packaged and local pear modules (create empty
> /usr/local/php/ dir, set include_path to
> '.:/usr/local/php:/usr/share/php' in php.ini, perhaps write a
> /usr/bin/pear-local wrapper, etcetera)
yes... in addition to steve's comments about what the directories should be, i
think that the "pear" command should default to the local directories, and
that debian packages should either not use it, use it with certain flags to
specify the "debian directories", or use a "pear-debian" wrapper that does
this.
also, how does pear handle dependencies between the two directories? i.e. if
we have the debian-installed classes in one directory with package A, and
locally install package B which depends on A, will it be smart enough at
install time (and later run time) to use the package A from the debian dir,
or will it download/need a copy from the local dir?
sean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20070918/65fdfd43/attachment.pgp
More information about the pkg-php-maint
mailing list