You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Kyle Quillen <kq...@wifi7.com> on 2007/01/03 21:22:25 UTC

[users@httpd] Open_base

Hello all,

I have a small issue.  I need to set the open_base directive for the
default site of apache so that php will be able to interface directly
with the Directory it needs to.  I have tried adding this line to the
config file in just a random place as I do not know exactly where to put
this.  This is an internal server so security is not an issue just need
to be able to get one function working.  Again this is not setup as a
virtual machine all of our files are in the default site
of /var/www/html

php_admin_value open_basedir "/var/www/html:/usr/lib/php/"

When I start apache I get no errors what so ever so I think i am doing
this right?

Much thanks
Q


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Open_base

Posted by Matus UHLAR - fantomas <uh...@fantomas.sk>.
On 03.01.07 15:22, Kyle Quillen wrote:
> I have a small issue.  I need to set the open_base directive for the
> default site of apache so that php will be able to interface directly
> with the Directory it needs to.  I have tried adding this line to the
> config file in just a random place as I do not know exactly where to put
> this.  This is an internal server so security is not an issue just need
> to be able to get one function working.  Again this is not setup as a
> virtual machine all of our files are in the default site
> of /var/www/html
> 
> php_admin_value open_basedir "/var/www/html:/usr/lib/php/"
> 
> When I start apache I get no errors what so ever so I think i am doing
> this right?

this is an PHP issue, not apache issue. You should direct this question to
php mailing list and search php documentation.

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Linux is like a wigwam: no Windows, no Gates and an apache inside...

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org