Re: Detecting Pear....

From: Date: Sun, 11 Sep 2005 20:48:20 +0000
Subject: Re: Detecting Pear....
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20906@lists.php.net to get a copy of this message
Hi Mike,
On Fri, 09 Sep 2005 19:42:01 -0400 "Michael J. Pawlowsky" <mikep@mi-consultants.com> wrote: ... What would be the best way to detect if pear is installed and in the persons include path already?
Have you tried: !empty( $_ENV['PHP_PEAR_INSTALL_DIR'] )? This environment variable will be set as soon as pear has been installed, if I'm not mistaken.
Thanks, Mike
Good luck! -- Stefano

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