Re: install PEAR in different path
| From: | Pierre-Alain Joye | Date: | Mon, 08 Dec 2003 23:54:50 +0000 |
| Subject: | Re: install PEAR in different path | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-9392@lists.php.net to get a copy of this message | ||
On Mon, 08 Dec 2003 21:53:13 -0200
Mauro Romano Trajber <trajber@terra.com.br> wrote:
> Why ??
> DB need more "foreing" files ??
> PS: I only need the HTML_TEMPLATE_IT and DB packages!!! I dont
> want
> couple my scripts with _ALL_ PEAR packages.
You can install PEAR where you like to.
First, you should set E_ALL flag: error_reporting(E_ALL); That should
help you to see all warnings/errors.
If you have successfully installed PEAR on one machine,
you only have to copy the PEAR folder (ex:
/home/mromano/where/is/my/pear) to the destination host
(ie: /var/www/www.example.com/include) and then set your include_path
to".:/var/www/www.example.com/include"
hth
pierre