Re: Installing PEAR

From: Date: Fri, 16 May 2008 20:51:07 +0000
Subject: Re: Installing PEAR
References: 1 2 3 4 5 6 7 8  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-28931@lists.php.net to get a copy of this message
I was able to figure out the pear executable's location with the command provided, but I do not know how to add it's location to my PATH variable. How do I do that? Do you think the command I provided should work? It didn't work when I tried it, but I could have made a typo or made some other small mistake. -Osei On Thu, May 15, 2008 at 2:43 AM, Christian Weiske <cweiske@cweiske.de> wrote: > 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 >

« previous php.pear.general (#28931) next »