include_path in php.ini
| From: | Paul Reisinger | Date: | Wed, 23 Oct 2002 14:48:38 +0000 |
| Subject: | include_path in php.ini | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-121109@lists.php.net to get a copy of this message | ||
I am new to installing and configuring php especially on a windowzzz server.
I am having trouble getting php includes to work.
example:
(<?php include("http://mywebsite.com/forum/ssi.php");
?>)
I get this error:
Warning: Failed opening 'http://mywebsite.com/forum/ssi.php'for
inclusion
(include_path='D:\Inetpub\NewIntraRoot') in D:\Inetpub\NewIntraRoot\test.php
on line 6
I know the include path is wrong but I've tried so many different paths.
I've searched the php manual but it doesnt give me a good understanding of
what really needs to be configured and how to do it. I have also searched
the web.
It's probobly so simple that it doesnt need any more explanation.
Could someone out there give me any advice?
System Windows NT 5.0 build 2195
Build Date Sep 6 2002 10:38:51
Server API CGI
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\WINNT\php.ini
Debug Build no
Thread Safety enabled
implicit_flush
Off Off
include_path
D:\Inetpub\NewIntraRoot D:\Inetpub\NewIntraRoot
log_errors
Off Off
php is installed on C but the site is hosted on D.
Does this make sense?
Thank you
Paul