Have you set up PHP based on php.ini-recommended? Look out for the 
include_path directive in your php.ini(-recommended) and remove the 
semi-colon at the beginning of the line. I assume you're used to provide 
the full path for every file to be included

include("../my_include_files/inc_file.php");

I just set up php 4.1.2 and encountered the same "problem". I guess 
include_path='.;c:\php4\pear' is the default build-in php include path. 
So you have to override it using the php.ini directive. (In your case 
the important part in this directive is probably the period !?)

HTH steff

Chris Fraser wrote:
> Greetings,
>    Is anyone having problems with includes or include path with this configuration?
> 
> I'm running Apache 2.0.35/php 4.2.0 RC4 on WinXP pro.
> 
> Warning: Failed opening 'mod//index.php' for inclusion 
>(include_path='.;c:\php4\pear') in D:
> \Internet\Apache\htdocs\urswerks\mod.php on line 14
> 
> --
> "The dogmas of the quiet past are inadequate for the stormy present. The occasion is 
>piled high 
> with difficulty, and we must rise to the occasion. As our case is new, so we must 
>think anew, 
> and act anew. We must disentrall ourselves, and then we shall save our country.We 
>can not 
> escape history. We will be remembered, in spite of ourselves. The fiery trial 
>through which we 
> pass will light us down in honor or dishonor, to the last generation. We shall nobly 
>save, or 
> meanly lose our last best hope of Earth."                       Annual Message to 
>Congress, 
> Concluding Remarks, December 1, 1862
>                                                                                      
>                    - 
> President Abraham Lincoln  
> Copyleft 2001: http://www.gnu.org/licenses/fdl.html                                  
>                                   
>                       
>                                                                                      
>                                                                                      
>        
> 
> 
> 


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to