Re: IIS Include Path Error
| From: | Sorin Sfirlogea | Date: | Mon, 05 Aug 2002 10:29:19 +0000 |
| Subject: | Re: IIS Include Path Error | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-15123@lists.php.net to get a copy of this message | ||
Well, dear Gill, you're not alone, if this is comforting you (I belive not).
The problem seems to be deeper than you think. Have you looked into your
Event viewer? I bet you will find something about an "access violation in
php4ts!zend_strndup", bla, bla, bla... Just go bugs.php.net and perform a
search for "php4ts", open bugs, related to IIS and Windows 2000. You will
get a big suprise: the real problem is that PHP 4.2.1 and later are not
working properly with IIS 5.0. There are 5-6 pages with messages about this
topic, starting February this year, but no solution until now.
Not very funny.
Sorin Sfirlogea
<gil@hildebrandconsulting.com> wrote in message
news:1628.63.100.1.66.1028312567.squirrel@www.hildebrandconsulting.com...
> 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
>