[PHP] Re: Testing Pear install

2004-03-03 Thread Ben Ramsey
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Re: Testing Pear install

2004-03-03 Thread DAvid Jackson
Ben Ramsey wrote:

 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.
Ben --
It's looks like that's what I'm going to have to do :-(
My church made a poor decision, about which hosting company to go with
Tx,
David
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php