Re: PHP/IIS (include_dir='.;c:\php4\pear')
| From: | David Robley | Date: | Wed, 07 Aug 2002 00:33:07 +0000 |
| Subject: | Re: PHP/IIS (include_dir='.;c:\php4\pear') | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-111456@lists.php.net to get a copy of this message | ||
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