pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mail/roundcube fails for PEAR



Markus Illenseer wrote:

Why doesn't php/roundcube find PEAR.php? PEAR-base-system itself is installed. Is there anything required in php.ini?

I found out, that php.ini requires an include path:
include_path = "/usr/pkg/lib/php"

Shouldn't the PEAR-package install such an include?

Thanks!

--
Markus Illenseer

This is actually a requirement of PEAR, not PHP:

[adrianp /usr/pkgsrc/lang/pear ]$ cat MESSAGE
===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2007/05/05 21:21:45 adrianp Exp $

In order to use PEAR packages you may want to alter the default
include_path of PHP to include the PEAR installation directory where the
packages are located.  To do this you need to edit the include_path
directive in your php.ini file:

        ${PKG_SYSCONFDIR}/php.ini

Change the "include_path" directive to read as follows:

        include_path = ".:${PREFIX}/lib/php"

===========================================================================
[adrianp /usr/pkgsrc/lang/pear ]$

In pkgsrc land we tend not to modify installed configuration files. In this case php.ini is already installed from the php package so the pear package just spits out this message.

adrian.


Home | Main Index | Thread Index | Old Index