safe_mode_include_dir
| From: | Tony Beyers | Date: | Wed, 12 Dec 2007 20:26:00 +0000 |
| Subject: | safe_mode_include_dir | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-265800@lists.php.net to get a copy of this message | ||
I'm running php 5.2.5 with these settings in a virtualhost block in
apache 2.0.61:
php_admin_flag safe_mode on
php_admin_value include_path "/afs/msu.edu/.../web"
php_admin_value safe_mode_include_dir "/afs/msu.edu/.../web"
I've got an index.php file in web/support/ that does a
require_once("../includes/support.php");
Being in afs with write access from multiple people, the uids of the
files do not match and I get an error stating that. So I put the
safe_mode_include_dir line above in but it did not fix the problem
until I used the absolute path in the require_once line.
Is there a way to include files with relative paths?
--
Tony