ploblem with safe_mode_include_dir

From: Date: Mon, 04 Mar 2002 14:40:55 +0000
Subject: ploblem with safe_mode_include_dir
Groups: php.general 
Request: Send a blank email to php-general+get-87093@lists.php.net to get a copy of this message
Some one can help me. Why this is not working ? # apache conf <Directory /myuser/public_html/> php_admin_flag safe_mode on php_admin_value safe_mode_include_dir "/myuser/safe/" php_admin_value doc_root "/myuser/public_html/" php_admin_value open_basedir "/myuser/public_html/:/tmp/" </Directory> #cat /myuser/public_html/x2.php <?php echo 'Current PHP version: ' . phpversion()."<BR>"; require("/myuser/safe/x4.php"); echo "I am in x2<br>" ?> #cat /myuser/safe/x4.php <?php echo "I am in X4<br>" ?> #browser result Current PHP version: 4.2.0-dev *Warning*: open_basedir restriction in effect. File is in wrong directory in */myuser/public_html/x1.php* on line 2 *Fatal error*: Failed opening required '/myuser/safe/x4.php' (include_path='') in */home/rlins/public_html/x1.php* on line 2

« previous php.general (#87093) next »