[imp] PHPLib problems

Jesper Frank Nemholt jfn@dassic.com
Fri, 25 Jan 2002 14:18:31 +0100


Quoting jimmy@firstlink.com.au:

> Hi,
> why not try the following setting in apache's access.conf
> 
> <Directory /home/my_sites/virtual_1/horde_folder>
> AllowOverride All
> Options All
> php_value include_path = .:/home/php/phplib/php:/home/php/lib/php
> </Directory>
> 
> <Directory /home/my_sites/virtual_1/other_folder>
> AllowOverride All
> Options All
> php_value auto_prepend_file = /home/php/phplib/php/prepend.php3
> </Directory>
> 
> then restart apache

Thanks, I altered your solution a bit, and now everything works fine.... I'm 
writing this from IMP :)

I've removed my prepend entry from my php.ini, kept the include path and 
instead added the following for each virtual server directory (here 
paradox.dassic.com) to my httpd.conf :

<Directory "/data01/www/paradox.dassic.com">
   php_value auto_prepend_file /home/php/phplib/php/prepend.php3
</Directory>


/Jesper

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/