Re: PEAR

From: Date: Fri, 05 Sep 2003 08:47:44 +0000
Subject: Re: PEAR
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-161733@lists.php.net to get a copy of this message
Hi, Let's say you have PEAR installed in /usr/local/php/lib/php To use PEAR related classes, you should add /usr/local/php/lib/php to your include_path; then restart the server ;) or you can use ini_set() on top of your scripts. Cheers, Catalin "Richard Baskett" <php@baskettcase.com> wrote in message news:BB7D27B5.25C84%php@baskettcase.com... Ok I have loaded the new version of php 4.3.3, but now how in the world do I enable PEAR? I have a couple of scripts that just call a pear php script, but it says it doesn¹t exist.. does this mean that I need to change the include path? How do I include all those pear classes? Thanks! Rick "Too much caution is bad for you. By avoiding things you fear, you may let yourself in for unhappy consequences. It is usually wiser to stand up to a scary-seeming experience and walk right into it, risking the bruises as hard knocks. You are likely to find it is not as tough as you had thought. Or you may find it plenty tough, but also discover you have what it takes to handle it." - Norman Vincent Peale

« previous php.general (#161733) next »