|
Posted by J.O. Aho on 04/14/07 19:18
tom_sawyer70@yahoo.com wrote:
> On Apr 14, 12:16 pm, "J.O. Aho" <u...@example.net> wrote:
>> tom_sawye...@yahoo.com wrote:
>>> I am running SuSE 10, Apache2 and PHP5 and have a question about the
>>> include_path directive in the php.ini. I am trying to use include
>>> files for a navigation bar on a family-type website.
>>> The www path is /srv/www/htdocs. This directory has a subdirectory
>>> for each family member and one that is called "includes." I have
>>> changed my include_path in the /etc/php5/apache2/php.ini file, and if
>>> I check it with an info.php call, I can see that /srv/www/htdocs/
>>> includes is in the include_path. Within the includes directory, I
>>> have a navigation file called nav.php.
>> Check that you do not have two lines with include_path, if so, the later one
>> will be used.
> I only have one include path that is not remarked out (there are some
> listed for UNIX):
> include_path = ".;/srv/www/htdocs/includes;usr/share/php5;/usr/share/
> php5/PEAR"
The line you have has a syntax problem and thats why it don't work, the
separator is : and not ;
so your configuration should look like this (one line):
include_path = ".:/srv/www/htdocs/includes:usr/share/php5:/usr/share/php5/PEAR"
--
//Aho
[Back to original message]
|