Re: PEAR / include path

From: Date: Fri, 04 Oct 2002 23:20:41 +0000
Subject: Re: PEAR / include path
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-2436@lists.php.net to get a copy of this message
[This followup was posted to php.pear.general and a copy was sent to the cited author.] In article <20021004234828.606ca7e1.paj@pearfr.org>, paj@pearfr.org says... > On Fri, 4 Oct 2002 22:46:15 +0200 > <zaphod@s4r.de> wrote: > > > > I would recommend to change the directory-structure of PEAR to avoid > > this problem. > > I recommand to follow the instructions and add '/path/to/pear/root' to > your include_path. > For you configuration : ini_set('.;C:\PHPLIB\PEAR'); Temporarily changing the include_path in the script makes the script run, but then I am facing another problem: when I want to move the scripts to another machine, where the libs reside in another include- path I have to change all files which are using the ini_set-statement. If, on this machine, the folders in the include_path appear in a different order, I have to insert ini-set-statements, where they were not needed before. I do not think, your recommandation is a good one. Regards Thomas

« previous php.pear.general (#2436) next »