Re: [e-smith-devinfo] php_admin_value

2003-02-02 Thread Jason Miller
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

Re: [e-smith-devinfo] php_admin_value

2003-02-01 Thread John Cusick
Thanks Carlie, That is exactly what I did, but I didn't know if there was some other implicit value that php/apache automatcally set if it wasn't explicitly declared. Other than a brief mention of setting it to an explicit value on the php.net docs site, there were no other details. Regards, Jo

Re: [e-smith-devinfo] php_admin_value

2003-02-01 Thread Charlie Brady
On 1 Feb 2003, John Cusick wrote: > Or better yet, what is the proper way to add a template fragment in > templates-custom to remove this restriction for one particular ibay? No need for a custom template for that: /sbin/e-smith/db accounts setprop PHPBaseDir / -- Charlie Brady

Re: [e-smith-devinfo] php_admin_value

2003-02-01 Thread John Cusick
Actually I should have been more explicit right from the word go. I understand that php is restricted to the ibay directory itself through the template fragment in 95AddType00PHP2ibays and I know that I can easily change it by adding a key/value pair for the key PHPBaseDir. My problem is that I'm

Re: [e-smith-devinfo] php_admin_value

2003-02-01 Thread Jason Miller
On 1 Feb 2003, John Cusick wrote: > As I mentioned, I know how to set it, but I do not know what the default > is if it is not explicitly set. I don't believe it is the root > directory, but it may be for all I know. Sorry, I guess it was hidden in the reply (provided more information than necess

Re: [e-smith-devinfo] php_admin_value

2003-02-01 Thread John Cusick
Jason, Thanks for the reply. I probably didn't make myself clear enough. As I mentioned, I know how to set it, but I do not know what the default is if it is not explicitly set. I don't believe it is the root directory, but it may be for all I know. Regards, John C. On Sat, 2003-02-01 at 20:4

Re: [e-smith-devinfo] php_admin_value

2003-02-01 Thread Jason Miller
On 1 Feb 2003, John Cusick wrote: > I have need to change the php_admin_value open_basedir value for an > ibay. I know how to do this, but have no clue what the default base_dir > is. The default basedir on an SMEServer is the ibay directory itself which one can see in the /etc/httpd/conf/httpd.c

[e-smith-devinfo] php_admin_value

2003-02-01 Thread John Cusick
I have need to change the php_admin_value open_basedir value for an ibay. I know how to do this, but have no clue what the default base_dir is. I have checked the PHP docs php.net's forums and I'm unable to find out this information. Is it the root (/) directory? I don't have the source around a