ID:               21674
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           Open
 Bug Type:         *URL Functions
 Operating System: Cobalt RAQ4 Apache/Linux
 PHP Version:      4.3.0
 New Comment:

There are not any .htaccess files in the referenced directory. 

What is it that you see or dont see regarding our include_path setup?


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

[2003-01-17 13:50:23] [EMAIL PROTECTED]

Can you do the same for the config.php file.
(and look to see if you have some .htaccess file in there too that
might be changing PHP settings)

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

[2003-01-17 13:36:52] [EMAIL PROTECTED]

Here are the results to your request.

string(14) ".:/usr/lib/php" 
Warning: main(lang.php) [function.main]: failed to create stream: No
such file or directory in /home/sites/site2/web/IV/config.php on line
97

Warning: main() [function.main]: Failed opening 'lang.php' for
inclusion (include_path='') in /home/sites/site2/web/IV/config.php on
line 97

Warning: main(extras.php) [function.main]: failed to create stream: No
such file or directory in /home/sites/site2/web/IV/config.php on line
98

Warning: main() [function.main]: Failed opening 'extras.php' for
inclusion (include_path='') in /home/sites/site2/web/IV/config.php on
line 98
Hello - Testing PHP 4.3.0 bug# 21674// End - Copy and Save this code as
phpbug21674.php

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

[2003-01-17 13:03:35] [EMAIL PROTECTED]

add:
var_dump(ini_get('include_path'));
to the line before the require_once in the phpbug21674.php script and
paste the output here.

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

[2003-01-17 12:59:28] [EMAIL PROTECTED]

This is what my phpinfo() says

include_path         .:/usr/lib/php

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

[2003-01-17 12:48:12] [EMAIL PROTECTED]

It works fine here...
Is your include_path still '' ?
You *must* have '.' in your include path for relative includes to work;
have you tried that?

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/21674

-- 
Edit this bug report at http://bugs.php.net/?id=21674&edit=1

Reply via email to