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

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.


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

[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