Re: Testing Pear install

From: Date: Wed, 03 Mar 2004 20:26:51 +0000
Subject: Re: Testing Pear install
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-179369@lists.php.net to get a copy of this message
David Jackson wrote:
How can I test to see if and what portions of Pear are installed on a vhosted website? TX, david
I'm not sure how to tell what portions are installed, exactly, but you can test to see whether PEAR itself is installed simply by using require 'PEAR.php'; If it complains, then it can't find it and it's probably not installed. You can download the PEAR packages yourself, though, drop them into a directory in your site (or outside the root of your site), and use ini_set() to set your include_path to the directory where your PEAR classes reside. Then you can use PEAR without having to "install" it. -- Regards, Ben Ramsey http://benramsey.com http://www.phpcommunity.org/wiki/People/BenRamsey

« previous php.general (#179369) next »