Computing.Net > Forums > Linux > Php open_basedir ~

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Php open_basedir ~

Reply to Message Icon

Name: Skewkus
Date: November 28, 2005 at 18:08:17 Pacific
OS: Debian
CPU/Ram: 466
Comment:

We used to be able to limit php scripts from accessing files outsite the users home directory by using the following command in the /etc/apache/httpd.conf file for each users virtual host

php_value open_basedir ~

( ~ specifies home dir )

For some reason the ~ has stopped working? we now have to add the full path down eg

php_value open_basedir /home/user/public_html

~ used to work - I am thinking that maybe an update we applied may have caused it to stop functioning.

I have also tried

php_admin_value open_basedir "/home/users/public_html"

which works but we want to set it as a global setting in the php.ini file that users are always locked in their home dir however the ~ not working is a problem?

Any Ideas ?
Does anyone know why this may have stopped working?

Thanks for any info



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Php open_basedir ~

problem whith mysql on php www.computing.net/answers/linux/problem-whith-mysql-on-php/22805.html

Cant Install Apache, MYSQL, PHP on www.computing.net/answers/linux/cant-install-apache-mysql-php-on-/21446.html

Php 4.0 www.computing.net/answers/linux/php-40/27797.html