Re: Setting up PEAR on a shared host - any advise or pointers?
| From: | Torsten Roehr | Date: | Sat, 11 Dec 2004 20:09:39 +0000 |
| Subject: | Re: Setting up PEAR on a shared host - any advise or pointers? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-16180@lists.php.net to get a copy of this message | ||
"Jim Macdiarmid" <jim.macdiarmid@comcast.net> wrote in message
news:php.pear.general-16178@news.php.net...
> I'm trying to setup PEAR on a linux shared host so that I can access a
mySQL
> DB and I've followed the instructions on
> http://pear.php.net
> <http://pear.php.net/> and also an article I found on
> Builder.com at
> http://builder.com.com/5100-6371-5163311.html. I was wondering
> if anyone
has
> successful done this? I am having some difficulty in getting it to work.
>
>
>
> I created a folder called Pear under my public_html folder and threw
> everything in there, but when I try to run any of the test scripts that
come
> with Pear they bomb out with errors like they can't find anything.
>
Hi Jim,
install all required files locally, upload them (like you did) and point
your include path to that directory:
$path = '/path/to/pear/dir';
set_include_path(get_include_path() . PATH_SEPARATOR . $path);
Regards, Torsten Roehr