On 1 Feb 2003, John Cusick wrote:

> My problem is that I'm looking at a php application that needs to access
> the /usr/share/pear/DB.php, and with this restriction, that is not
> possible.
> 
> Is there a way to add this directory without searching through 30 or 40
> scripts in the app and adding it individually, or is it simpler to just
> change the php_admin_value? And if so, what is the default value.

Definitely easier (and correct) to change the php_admin_value in the
server's configuration.  The default value is whatever you want it to
be.  If you need php to be able to access files in /usr/share/pear then
that should be the value [provided user 'www' has access to read that
file/directory, which it looks like it does].

If one doesn't specify a php_admin_value for basedir, I'm not sure what the
default will be assumed as.  You could be correct with your guess that it
might be /.  Needs more investigation ...

> Thanks for any help, and off-line is fine with me if this is considered
> too trivial for this list.

Not sure if its too "trivial" but I'm sure the fine folks on this list
don't need to hear the speculatory details of what that value might be 
:>.  We can just research/test it separately and report findings back to
the list when done. 

Regards,

Jay

-- 
Jason D. Miller                         E-mail: [EMAIL PROTECTED]
Senior Software Developer               Phone:  +1 613.592.2122 x.4387
Network Server Solutions Group          Fax:    +1 613.592.1175
Mitel Networks Corporation              http://www.mitel.com

"Are those workers dead?"
"Technically, yes ... but that's no excuse!", <cracks the whip>,
"Back to work you lazy corpse! ..."
--- Taken from DilbertTV, "Elbonian Trip"


--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org

Reply via email to