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 Stanislav Malyshev other posts by this author
May 12 2008 10:32AM messages near this date
[PHP-DEV] Extension_Dir: Proposal to offer multi-directory DLL loading | Re: [PHP-DEV] Extension_Dir: Proposal to offer multi-directory DLL loading
Hi!

>  Let me simply ask, do you think there is technical merit (worth while) 
>  to create a patch which offers multi-directory DLL loading support for 
>  the PHP.INI extension_dir= option?

extension is an one-time configuration directive. Since it allows full 
path now, how hard would it be to get it right with full path?
Multiple paths may contain some dangerous pitfalls - like, what happen 
if extension is in multiple paths, and in some it's not compatible 
(wrong version/debug/ts)? What if you have some old version lying around 
in fifth path, and you had new version in first path, but somehow 
permissions got mangled and it's not readable, so wrong version is 
loaded? Etc., etc. - it seems to have potential for many unpleasant 
moments.

>    1) Reduce extension DLL (non-PHP related) dependency issues,

How? I'd say, if you have extension A using foo.dll, and extension B 
using foo.dll, and they live in different directories, don't you now 
have to maintain two copies of foo.dll instead of one?

>    2) Better support for PHP integration with Application Servers, and

Here I'd like to hear more - how it helps PHP and Application Servers?

>    3) Better support for security isolation, sand-boxing applications

I'm not sure how giving multiple places to put security-sensitive stuff 
(extension has access to everything) improves sandboxing, could you explain?
-- 
Stanislav Malyshev, Zend Software Architect
stas@[...].com   http://www.zend.com/
(408)253-8829   MSN: stas@[...].com

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
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
© ActiveState Software Inc. All rights reserved