Posted by sam on 11/10/05 19:38
Can you access other files in that directory ?
Check the permission for all directory in the path.
Check the conf.php file permission
Regards.
"Andrew Peskin" <andrew@aspco.com> a ιcrit dans le message de news:
AR3cf.22$Hb7.251@news.uswest.net...
>I am trying to set the include_path
> directive in php.ini so that I can
> keep include files outside of the web
> root directory.
>
> My directive reads as follows:
>
> include_path = ".;D:\PHP\includes\pear;E:\outsideweb\ewp"
>
> . => current web directory
> D: => applications drive, php directory
> E: => data drive, directory outside web root
>
> However, when trying to access the file
> by script, I am receiving the following error:
>
> PHP Warning: main(): Failed opening 'conf.php' for inclusion
> (include_path='.;D:\PHP\includes\pear;E:\outsideweb\ewp')
>
> I am running:
> apache 1.3.31
> php 4.3.8
> win2k pro
>
> The file at issue resides in the "E:\outsideweb\ewp" folder.
>
> Permissions are granted at the folder level.
>
> Is there an additionally needed directive
> in apache httpd.conf? How can I access
> files in this directory?
>
> Thank you.
[Back to original message]
|