[imp] PHPLib problems
Jan Schneider
jan@horde.org
Fri, 25 Jan 2002 11:49:00 +0100
Zitat von Jesper Frank Nemholt <jfn@dassic.com>:
> Hi!
>
> I´ve just installed HORDE 2.0 and IMP 3.0 on a machine running Apache
> 1.3.22 and PHP 4.1.1.
>
> I run IMP/HORDE in a dedicated Apache virtual server and have several
> other virtual servers running other stuff.
> Most of the other stuff uses PHPLib 7.2d for generic database access.
>
> My php.ini :
>
> include_path = /home/php/phplib/php:/home/php/lib/php
> auto_prepend_file = /home/php/phplib/php/prepend.php3
>
> When setting the auto_prepend_file, HORDE & IMP doesn't work but show
> just blank pages.
> If I remove the auto_prepend_file, HORDE & IMP works fine, but all my
> other stuff breaks.
>
>
> I've seen it mentioned in the docs that it's possible to setup so PHPLib
> only affect certain parts of the site, and thus making it possible to
> exclude my HORDE/IMP dir.
> How do I do that, or is there a better way to have both running without
> conflict ?
As you obviously have more files depending on phplib than breaking on it,
it would be the best if you could exclude the horde directory from auto
prepending the phplib stuff.
I'm not sure if it works, but setting auto_prepend_file to an empty string
in the virtual server directive for horde or in a .htaccess file inside the
horde directory should be worth a try.
Jan.
--
::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::