You are here: Re: PHP include_path Not Working ... Any Help ...? « All PHP « IT news, forums, messages
Re: PHP include_path Not Working ... Any Help ...?

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.

 

Navigation:

[Reply to this message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация