safe_mode_include_dir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux