Re: [PHP4BETA] CPANesque class distribution (was SQL abstraction)
| From: | Stig Bakken | Date: | Wed, 30 Jun 1999 16:44:52 +0000 |
| Subject: | Re: [PHP4BETA] CPANesque class distribution (was SQL abstraction) | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-1754@lists.php.net to get a copy of this message | ||
On Wed, 30 Jun 1999, David Sklar wrote:
> > We should seriously start considering implementing something
> > like CPAN in PHP, so we have defined ways of distributing and
> > installing standard packages.
> >
> > - Stig
>
> I think the hard part of this is the namespace conventions, not so
> much the distribution mechanisms. How does CPAN arbitrate who gets to
> add what modules where in the module namespace?
In CPAN, people register their namespace after discussing it "in the
appropriate fora". See
ftp://ftp.cs.colorado.edu/pub/perl/CPAN/modules/04pause.html
> Is there a default 'library' include path that should get compiled
> into PHP (ala Perl's (eg) /usr/lib/perl5/site_perl) and then the class
> install procedure could put the files under that?
We have a default location for php.ini, /usr/local/lib.
/usr/local/lib/php would make more sense as a base directory for userland
PHP modules.
- Stig