[BlueOnyx:04980] Re: 5106R YUM updates (suPHP)

Stephanie Sullivan ses at aviaweb.com
Wed Jul 7 10:54:22 -05 2010


> -----Original Message-----
> From: blueonyx-bounces at blueonyx.it [mailto:blueonyx-
> bounces at blueonyx.it] On Behalf Of Michael Stauber
> Sent: Wednesday, July 07, 2010 7:54 AM
> To: BlueOnyx General Mailing List
> Subject: [BlueOnyx:04976] Re: 5106R YUM updates (suPHP)
> 
> > However: It also means that 'open_basedir' is entirely ignored if
> > suPHP is enabled and scripts that run through suPHP are not
> > affected by 'open_basedir'  at all. I just tested that and
> > I'm not entirely happy with this. Will have to see if there
> > is a way to straighten that one out.
> 
> Yeah, there is a way around this: If each site gets its own
> php.ini, then we can make sure that open_basedir and the
> other custom PHP settings also carry over to suPHP enabled
> sites.
> 
> While this is a truckload of work to code, I'll see to it
> that it's added as soon as possible.
> --
> With best regards
> 
> Michael Stauber

Michael,

Perhaps all that's needed is to add a runtime php setting for open_basedir
to the virtual container (/etc/httpd/conf/vhosts/site??)? This might be a
better way to make site-specific adjustments to php.ini settings rather than
handing off global control of php.ini. I imagine site control to be like
cascading style sheets - where you have global settings for php (php.ini)
setting the server wide defaults, and the runtime settings modifying an
allowed subset of these on a per-site basis.

	Thanks,
		-Stephanie




More information about the Blueonyx mailing list