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



Reply via email to