|
Posted by Andrew Peskin on 10/13/84 11:31
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.
Navigation:
[Reply to this message]
|