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"

  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''.

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.

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/

``The only freedom which deserves the name, is that of pursuing our own good
in our own way, so long as we do not attempt to deprive others of theirs,
or impede their efforts to obtain it.'' -- John Stuart Mill, 1859
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   [EMAIL PROTECTED]

Reply via email to