#21540 [NEW]: include_path problem

From: Date: Thu, 09 Jan 2003 09:37:10 +0000
Subject: #21540 [NEW]: include_path problem
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-29545@lists.php.net to get a copy of this message
From: kjanisz@fr.pl Operating system: Linux PHP version: 4.3.0 PHP Bug Type: Scripting Engine problem Bug description: include_path problem It seems that include_path is not working correctly. When I try to include Mail.php from PEAR I get Warning: sendmail() [function.sendmail]: Failed opening 'Mail.php' for inclusion (include_path='./:/usr/local/src/php-4.3/pear;') in /usr/local/apache/www/htdocs/aircargo.idstudio.pl/funcs.php on line 6 Mail.php IS in directory /usr/local/src/php-4.3/pear My config: php_value include_path ./:/usr/local/src/php-4.3/pear Look at the error - there is ; at the end of include_path, but it is not in my server configuration. When I added another path at the end: php_value include_path ./:/usr/local/src/php-4.3/pear:. script started to work. I think that there is an typo somewhere in the code. -- Edit bug report at http://bugs.php.net/?id=21540&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21540&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21540&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21540&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21540&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21540&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21540&r=support Expected behavior: http://bugs.php.net/fix.php?id=21540&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21540&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21540&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21540&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21540&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21540&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21540&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=21540&r=gnused

« previous php.bugs (#29545) next »