Re: include paths
| From: | Ruslan Ohitin | Date: | Fri, 18 May 2001 08:57:36 +0000 |
| Subject: | Re: include paths | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-7710@lists.php.net to get a copy of this message | ||
Hello mjrobey,
try to replace "\" with "/":
include_path = "d:/foxserv/www/include;."
mmc> Greetings,
mmc> I'm running Apache with the PHP mod under Windows 2000, but I seem to have
mmc> a recurring problem with includes. Every time I try to view a page with an
mmc> include() statement, it returns an error of the following sort:
mmc> Warning: Failed opening 'menutop.php' for inclusion (include_path='') in
mmc> d:
mmc> \foxserv\www\home\en\index.php on line 5
mmc> I've tried placing the desired PHP file (menutop.php) in the same directory
mmc> as the index.php, and it returns just fine, but I can't seem to get it to
mmc> recognize any sort of path, as indicated by the error message. As far as I
mmc> can tell, my syntax is correct in my php.ini:
mmc> include_path = "d:\foxserv\www\include;."
mmc> But I keep running into the same problem. I am running a dual boot on
mmc> separate drive partitions, one Windows NT 4.0, one Windows 2000 Server,
mmc> perhaps that has something to do with it? If anyone has any insight into
mmc> the problem it would be much appreciated.
mmc> -Matthew Robey
mmc> Maxon Corp.
--
Best regards,
Ruslan
mailto:rus@bagan.ru