On Tue, Nov 30, 2004, Bill Campbell wrote: > I just spent a fair amount of time figuring out why horde and imp weren't > working on a system where I had recently updated them from OpenPKG Release > 2.1 to Release 2.2, and finally tracked it down to two things which I was > able to fix by fiddling the etc/apache/php.ini and etc/php/php.ini files. > > 1. The default ``include_path'' variable doesn't include > %{l_prefix}/lib/php so the horde/lib/Registry.php script couldn't > find PEAR.php. > > include_path = ".:%{l_prefix}/lib/php"
Yes, sounds reasonable. I'll add this to php.ini. > 2. After adding an appropriate include_path to the php.ini files, the > scripts still wouldn't run until I changed ``safe_mode'' to ``off''. Hmmm... perhaps instead of "safe_mode off" it also works with the safer "safe_mode_include_dir = @l_prefix@/lib/php"? > I know just enough php to be dangerous and get things like this working so > I don't know all the implications of ``safe_mode'' or what the script > ownership should be to have this work properly under apache. Whatever it > is, it seems to me that PEAR should be usable under apache by default. Yes, of course. Have a look at the change I've made now: http://cvs.openpkg.org/chngview?cn=20376 http://cvs.openpkg.org/chngview?cn=20375 I hope it is fine this way. Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com ______________________________________________________________________ The OpenPKG Project www.openpkg.org Developer Communication List [EMAIL PROTECTED]