note 14701 rejected and deleted from function.include.php by alindeman

From: Date: Fri, 10 Aug 2001 12:56:47 +0000
Subject: note 14701 rejected and deleted from function.include.php by alindeman
Groups: php.notes 
Request: Send a blank email to php-notes+get-16542@lists.php.net to get a copy of this message
Hello: I have been struggling with the following problem for too may weeks: Warning: Failed opening '/var/www/php/index.php' for inclusion (include_path='') in Unknown on line 0 and Warning: Failed opening '/myhome/config.php' for inclusion (include_path='') in /var/www/php/myhome/index.php on line 3 After lots of try and error, I did find a workaround on several applications on my Windows system by setting the include_path line in php.ini to blank and then using: include($DOCUMENT_ROOT)."/myhome/config.php"; However, on my Linux system using PHP 4.0.4, I have tried and tried to find a solution to this unbelievably unstable include()/include_path combo. Any help will be appreciated. Thanks.

« previous php.notes (#16542) next »