On Tue, Nov 30, 2004, Ralf S. Engelschall wrote: >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.
Thanks Ralf. I'll take a look at this, but it won't be today as I'm in month-end mode. Will you be updating the Release 2.2 versions of apache and php to include these since they don't work by default? Speaking of PEAR and php, there are a couple of pear modules that are necessary for the horde family, notably Log and Date, which aren't in the basic PEAR build. So far, I've just cheated and installed them from the command line without building packages since I'm pretty ignorant about php/pearish things (I've been spending most of my time recently getting up to speed on python, Zope, and Plone). Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ ``Good luck to all you optimists out there who think Microsoft can deliver 35 million lines of quality code on which you can operate your business.'' -- John C. Dvorak ______________________________________________________________________ The OpenPKG Project www.openpkg.org Developer Communication List [EMAIL PROTECTED]