ID:               21540
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           Open
 Bug Type:         Scripting Engine problem
 Operating System: Linux
 PHP Version:      4.3.0
 New Comment:

I'm running Apache 1.3.27. I tried include_path both in httpd.conf and
.htaccess. Problem existed in both cases.


Previous Comments:
------------------------------------------------------------------------

[2003-01-09 19:42:16] [EMAIL PROTECTED]

Which Apache are you using and where are you specifying the
include_path, httpd.conf (virtual host) or .htaccess?

------------------------------------------------------------------------

[2003-01-09 03:37:10] [EMAIL PROTECTED]

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 this bug report at http://bugs.php.net/?id=21540&edit=1

Reply via email to