ID:               16099
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           No Feedback
 Bug Type:         Output Control
 Operating System: WindowsXP
 PHP Version:      4.1.2
 New Comment:

I have this same problem too. Changing the 
include_path = ".;c:\php4\pear" does not fix the problem. What did work
was
include_path = ".;c:\;c:\php4\pear"

I think that the problem is that absolute paths are no longer
recognized and that every path is used as if it were relative.


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

[2002-04-16 00:00:07] [EMAIL PROTECTED]

No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

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

[2002-03-28 16:52:20] [EMAIL PROTECTED]

I've noticed that adding the drive letter to a relative path has to be
done to get all working (apart from setting the include_path as it is
said was said by [EMAIL PROTECTED]

But it breaks the interportability of the path names (as it was for
e.g. "/web/include/php_class.php" now it
has to be "c:/web/include/php_class.php".

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

[2002-03-18 20:50:42] [EMAIL PROTECTED]

I got almost the same problem on windows 2k after I upgrade to 4.1.2
:(
all the php script stop working and output the warning

Warning: Failed opening 'path of the script' for inclusion
(include_path='.;c:\php4\pear') in Unknown on line 0

I tried the include_path = ".;c:\php4\pear" that didn't fix the
problem.

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

[2002-03-15 16:52:51] [EMAIL PROTECTED]

This should be fixed in CVS. And setting include_path
in php.ini to this:

include_path = ".;c:\php4\pear" 

should fix it too. (ie. no need to wait for release)



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

[2002-03-15 13:53:58] [EMAIL PROTECTED]

Warning: Failed opening 'configuration.php' for inclusion
(include_path='c:\php4\pear') in
g:\home\malay\public_html\classes\test.php on line 2

php installed directory
------------------------
G:\PHP

Apache installed directory
-------------------------
G:\Apache

Server Document root
----------------------
G:\home\malay\public_html

Directory Structure
-------------------
home-
     |_
        malay
         |_
           public_html________
                |             |
           configuration.php  | 
           test1.php          |
                              |_
                                classes
                                    |
                                  test.php

script for test1.php
--------------------
<?
include ("classes/test.php");
echo "Welcome to my testing site";
?>

Script for test.php in classes folder
-------------------------------------
<?
include ("configuration.php");
?>
-------------------------------------

This is just a test script to see if the include("classes/test.php") in
test1.php make test.php at the same directory level with the test1.php
as previous version of PHP did. 

Note: Even my working postnuke local dev site did function anymore due
the same problem. Another thing I did not set anything on
"include_path" directive. Even I did it make no different. Tried that.

Hope someone can help and thanks in advance.

 
                               
  

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


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

Reply via email to