PHP 4.1.0 - Win2K - Apache SAPI and Include_Path Problem...
| From: | Garth Dahlstrom | Date: | Fri, 14 Dec 2001 03:48:51 +0000 |
| Subject: | PHP 4.1.0 - Win2K - Apache SAPI and Include_Path Problem... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-77693@lists.php.net to get a copy of this message | ||
It seems that when I switched from running my PHP 4.1.0 from
running as a CGI to running as an SAPI on Win2K, I get the
error below on every page:
Warning: Failed opening '/htdocs/test/dir.php' for inclusion
(include_path='.') in Unknown on line 0
^^^--- After this message PHP stops w/ no logged error
Since, I don't get this message in CGI-mode OR when
unset my PHP.ini file's include_path value, I'm thinking
it must be something messed up in my Apache config...
Either that or perhaps this is a bug??
Any ideas?
-Garth
Apache 1.2.20 config info
-------------------------
Here is what I did to my Apache httpd.conf:
< AddType application/x-httpd-php .php
< AddType application/x-httpd-php-source .phps
< Action application/x-httpd-php "/php/php.exe"
< Action application/x-httpd-php3 "/php/php3/php3.exe"
replaced by:
> LoadModule php4_module php/sapi/php4apache.dll
Northern.CA ===--
http://www.northern.ca
Canada's Search Engine