From owner-freebsd-ports@FreeBSD.ORG Thu Jul 24 18:22:06 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE2ED37B401 for ; Thu, 24 Jul 2003 18:22:06 -0700 (PDT) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id E261B43F85 for ; Thu, 24 Jul 2003 18:22:05 -0700 (PDT) (envelope-from gsam@trini0.org) Received: from hivemind.trini0.org (trini0.org[68.36.46.19]) by comcast.net (sccrmhc12) with ESMTP id <20030725012205012001s5g1e>; Fri, 25 Jul 2003 01:22:05 +0000 Received: from trini0.org (gladiator.trini0.org [192.168.0.3]) by hivemind.trini0.org (Postfix) with ESMTP id C6BFF27E for ; Thu, 24 Jul 2003 21:22:04 -0400 (EDT) Message-ID: <3F20863C.5020107@trini0.org> Date: Thu, 24 Jul 2003 21:22:04 -0400 From: Gerard Samuel User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030701 X-Accept-Language: en, nl, th, en-us, ar MIME-Version: 1.0 To: ports@FreeBSD.org References: <3F206A24.1030308@trini0.org> In-Reply-To: <3F206A24.1030308@trini0.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Where did PEAR go??? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jul 2003 01:22:07 -0000 Gerard Samuel wrote: > I upgraded to PHP 4.3.3 via the ports earlier today (fresh cvsup), > and everything seems to be working except Chora (php cvs viewer). > It depends on PEAR. The error Im getting is -> > *Warning*: main(PEAR.php): failed to open stream: No such file or > directory in */files/www/data/horde/lib/Registry.php* on line *4* > > *Fatal error*: main(): Failed opening required 'PEAR.php' > (include_path='.:/usr/local/share/pear') in > */files/www/data/horde/lib/Registry.php* on line *4 > > *I looked over the old php.ini and the new one, and there aren't any > changes in there that would warrant this. > To install, I simply: > cd /usr/ports/lang/php4 > make install distclean > > Im assuming that it installs php, pear and php's cli > > Any pointers would be appreciated... Not sure why this isn't enabled in php.ini, but to work around my little problem above, edit /usr/local/etc/php.ini, and modify the "include_path" option to (don't forget to remove the ; at the beginning of the line) -> include_path = ".:/usr/local/share/pear/bootstrap" This was done after I copied the new php.ini-recommended to php.ini Restart the webserver and its done. If there is another (better) way, then by all means let me know..