On Fri, Feb 29, 2008 at 10:22 PM, Sriram Natarajan
<Sriram.Natarajan at sun.com> wrote:
> Hi
>   Going forward, I would like to propose changing the default location
>  of our PHP5 modules or extensions from /usr/php5/modules to
>  /var/php5/modules. I was wondering if I can hear your feed back on this
>  change before I include this issue in the next ARC case.  Also, if there
>  is a way to be more zone friendly without making this change, I would be
>  very happy to look into that option as well.
>
>  For folks within Sun, here is the bug : 6669573 to track this issue.
>  http://monaco.sfbay.sun.com/detail.jsf?cr=6669573
>
>  For folks outside Sun, here is a description from the bug report
>
>  our current integration delivers php modules under /usr . however, once we 
> add pecl support, pecl allows customers to dynamically download and install 
> them modules under the modules directory. in our case, the modules directory 
> is /usr/php5/modules.
>
>  however, in zones environment, /usr can be readonly. Hence, this severely 
> limits customers from using pecl to download and install new third party 
> extensions. However, if we changed the default location of our php modules to 
> be under /var, then we could be more user friendly. Please note that this 
> change in location should be transparent to most of the customers.
>
>
>  Any comments ?

Do we have to have just the one location? The problem I see is that under
the new scheme, if you want the same module in a dozen zones then you
need to install it a dozen times, and maintain it a dozen times, which isn't
good. Is it possible to have modules searched for in both and allow the
global zone admin to specify that modules are installed under /usr?

-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/

Reply via email to