ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-dev
php-dev
Re: [PHP-DEV] Extension_Dir: Proposal to offer multi-directory DLL loading
by Sean Finney other posts by this author
May 15 2008 12:02AM messages near this date
Re: [PHP-DEV] Extension_Dir: Proposal to offer multi-directory DLL loading | Re: [PHP-DEV] Extension_Dir: Proposal to offer multi-directory DLL loading
hiya,

sorry to jump in a little late here,

On Tuesday 13 May 2008 09:03:08 pm Stanislav Malyshev wrote:
>  > So if you think the multi-path extension_dir= change isn't going to be
>  > accepted to PHP53, I might as well stop right here.
> 
>  I don't know - it depends how broad is the need for it and how other
>  developers perceive it.

just to throw in my 0.02 $LC_MONETARY, it would be really useful to have 
something like this in debian and other php-packaging distributions out 
there.

consider the scenario where a user installs via the package management system 
the php core plus extensions a, b, and c.  they later want to install 
extension d (which is not packaged) via pecl, and update/override extension 
c.

currently what happens is pecl (there's a similar situation with pear btw) 
installs to the same location as the packaged files, creating a rather 
schizophrenic environment where you can't be sure what came from a package 
and what was locally installed.  and further, the next time extension c's 
package is upgraded, the local changes will be lost.

now if there were a multi-extension-dir functionality available, we could do 
something like saying "first check /usr/local/blah, and if that fails, 
check /usr/blah", where the latter is for the debian stuff.  then pecl could 
be set to default to the /usr/local directory, eliminating the problem.  fwiw 
something quite similar is done by perl--i believe it provides 3 directories 
actually: a "perl" directory, a "vendor" directory, and a "site" directory, 
but it's the same concept.


anyway, hope to see something like this down the line!


	sean
Thread:
Hector Santos
Hector Santos
Stanislav Malyshev
Hector Santos
Stanislav Malyshev
Hector Santos
Stanislav Malyshev
Sean Finney
Hector Santos
Lars Strojny
Hector Santos
Hector Santos
Elizabeth M Smith
Hector Santos

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved