Re: Installing PEAR
| From: | Christian Weiske | Date: | Thu, 15 May 2008 06:43:58 +0000 |
| Subject: | Re: Installing PEAR | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-28927@lists.php.net to get a copy of this message | ||
Hello Osei,
> <?php
> require_once 'PEAR.php';
> ?>
> generates no errors.
This is good.
> But I am unable to run PEAR from the command
> line. When I execute the command, I get a message that reads, "-bash:
> pear: command not found".
This means the path PEAR installed the command script into is not in
your path, as you suspected.
> But that did not work. It appears "pear" (I assume this is the name
> of the PEAR executable) is located in
> "/path/to/web/server/root/directory/bin/".
do "/path/to/pear/bin/pear config-get bin_dir", which should return the
same /path/to/pear/bin. Add this to your PATH and relogin or export the
variable.
--
Regards/Mit freundlichen Grüßen
Christian Weiske
Attachment: [application/pgp-signature] signature.asc
Attachment: [application/pgp-signature] signature.asc