[imp] PHP 4 sessions and PHPLIB

Brent J. Nordquist bjn@horde.org
Wed, 14 Feb 2001 16:10:58 -0600 (CST)


On Wed, 14 Feb 2001, Martin A. Marques <martin@math.unl.edu.ar> wrote:

> The problem is that IMP needs the prepended file, so what can I do?

Don't specify the prepend in php.ini, instead do it in the Apache .conf
file inside a scope (like <VirtualHost> or <Directory>) so that it only
applies to your IMP directories:

<Directory /var/www/html/horde>
    [...]
    <IfModule mod_php4.c>
        php_value include_path '/var/www/horde-phplib:.'
        php_value auto_prepend_file /var/www/horde-phplib/prepend.php3
        php_flag magic_quotes_gpc Off
        php_flag track_vars On
    </IfModule>
    [...]
</Directory>

-- 
Brent J. Nordquist <bjn@horde.org>
Yahoo!: Brent_Nordquist / AIM: BrentJNordquist / ICQ: 76158942