IIS Include Path Error
| From: | gil at hildebrandconsulting dot com | Date: | Fri, 02 Aug 2002 18:22:47 +0000 |
| Subject: | IIS Include Path Error | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-15086@lists.php.net to get a copy of this message | ||
Platform: Windows 2000 Advanced Server
PHP Version: 4.2.2
IIS Version: 5.0 (In ISAPI mode)
I just finished searching the archives, and while I found several people
who were receiving similar if not identical errors, none of the solutions
provided have worked for me.
I recently installed PHP on my Win2k server, and it seems that my PHP apps
run flawlessly the first 2-3 times they're run after a system reboot.
However, after that, I receive the following error when I try to run even
the simplest of scripts:
Warning: Failed opening 'C:\Webs\ERS\test.php' for inclusion
(include_path='.;c:\') in Unknown on line 0
test.php contains the following code:
<?php phpinfo(); ?>
As per other people's suggestions, I've tried the following values for the
include_path directive in php.ini:
include_path="."
include_path=".\"
include_path=".;c:\"
include_path=".;c:\php4"
Keep in mind that PHP will run the first couple times it's called after a
system reboot (I know my browser isn't caching - I ran a script that prints
the current date and time). Also keep in mind that there are no include()
commands in my PHP code, and that PHP gives no line number for the error
(ruling out a possible bug in my code).
Has anyone encountered a similar issue that they were able to resolve?
Thanks in advance,
Gil