Re: PHP/IIS (include_dir='.;c:\php4\pear')
| From: | Scott Fletcher | Date: | Wed, 07 Aug 2002 14:52:20 +0000 |
| Subject: | Re: PHP/IIS (include_dir='.;c:\php4\pear') | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-111511@lists.php.net to get a copy of this message | ||
By default, I left it as no path statement to it. That way, more than 1
different websites can work on IIS and of course, the webpages there are
configured not to have the full filepath.
"David Robley" <robleyd@paradise.net.nz> wrote in message
news:MPG.17bb31f0b0361b4e989770@news.php.net...
> In article <E7333A768FD3F04D8C44DD1891AC63AE30774C@PHX00088>,
> Peter.Loo@bannerhealth.com says...
> > Hi All,
> >
> > I am getting the following error while test running phpinfo() file.
> >
> > Warning: Failed opening 'c:\inetpub\wwwroot\phpinfo.php' for inclusion
(include_dir='.;c:\php4\pear')in Unknown on line 0
> >
> > php.ini does not have this setting so where is include_dir getting set?
I did however see this setting in php4ts.dll file. I am afraid to think for
even a moment that the intelligent developers at PHP.net would hardcode this
in a dll file. Isn't this against the religion of programming?
> >
> > Thanks.
>
> From my php.ini:
> ;;;;;;;;;;;;;;;;;;;;;;;;;
> ; Paths and Directories ;
> ;;;;;;;;;;;;;;;;;;;;;;;;;
>
> ; UNIX: "/path1:/path2"
> ;include_path = ".:/php/includes"
> ;
> ; Windows: "\path1;\path2"
> ;include_path = ".;F:/689\php\includes"
>
> php has built-in defaults for all of the entries in the ini file which
> presumably need to be kept somewhere in the application :-)
>
> --
> David Robley
> Temporary Kiwi!
>
> Quod subigo farinam