Re: Basic install problem
| From: | Pierre-Alain Joye | Date: | Mon, 26 Aug 2002 15:20:58 +0000 |
| Subject: | Re: Basic install problem | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-2194@lists.php.net to get a copy of this message | ||
On Mon, 26 Aug 2002 17:10:38 +0200
Geranium <vlcc69jfbo001@sneakemail.com> wrote:
> What more do I have to do? I can't get _any_ pear examples to work.
> PHP doesn't seem to have any idea that pear exists. I can't see how it
> is supposed to know - I don't know where pear has installed its php
> files, but they're not in my include path.
pear config-show
will tell you where they are.
then change your include_path to ".:/usr/local/lib/php"
/usr/local/lib/php is the default installation folder. You can get it from config-show.
> How does PHP know where to
> find the pear files? None of the pear code samples have any kind of
> include or require commands (I found one that had a
> require("pear/db.php"), but that still gave me a class not found
> error).
require("DB.php");
hth
pa