[geeklog-devel] Re: pair Networks contact

Tony Bibbs tony at tonybibbs.com
Tue Jan 14 14:18:26 EST 2003

Actually, that is the pear binary.

PEAR is a code library that ships with PHP.  Having the binary, though, 
assumes you have pear.  So "slocate DB.php".  DB.php is the PEAR database 
abstraction library.  You need to include the path to DB.php in the 
include_path in php.ini...then that script would work.

So, if you do slocate on DB.php and get something like 
"/usr/share/pear/DB.php" then add /usr/share/pear to your include_path.


 On Tue, 14 Jan 
2003, Pat F wrote:

> I'll admit that I know sqat about pear, but I believe that we have it
> installed on every server:
> root at qs457# which pear
> /usr/local/bin/pear
> root at qs457#
> Maybe your script just needs to reference pear by its full path on the
> server?
> On Tue, 14 Jan 2003, Tony Bibbs wrote:
> > Duh...a light just went off in my head.
> >
> > Archive/Tar.php is a PEAR moduels (http://pear.php.net).  Do you folks
> > install PEAR on your servers?  We need to figure this out but Tar.php is
> > the package that uncompresses Geeklog (i.e. we don't force your server to
> > have tar installed).
> >
> > Jason, should we have a little config option at the top of the file that
> > let's ISP's point the script to their local copy of pear?  I'd even say we
> > should first issue exec(`which tar`); and use the output if any to run
> > tar, otherwise force them to get a copy of Tar.php.
> >
> > this is a bit sticky, huh?  Jason, I'll refer to you for an exact
> > solution.
> >
> > --Tony

Tony Bibbs         | "I guess you have to remember that those who don't |   
tony at tonybibbs.com | hunt or fish often see those of us who do as       |
                   | harmlessly strange and sort of amusing. When you   | 
                   | think about it, that might be a fair assessment."  | 
                   | --Unknown                                          |

More information about the geeklog-devel mailing list