Re: how to use Pear packages without command line installing them?

From: Date: Wed, 12 Sep 2007 15:35:46 +0000
Subject: Re: how to use Pear packages without command line installing them?
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-27910@lists.php.net to get a copy of this message
You can create an online collection of PEAR packages and then manually include that parent directory on the PHP include_path in your applications. Usually something like: set_include_path('/path/to/pear' . PATH_SEPARATOR . get_include_path()); ini_set() can do something identical on the "include_path" property which is probably what you remember. There's a few in-depth explanations online. Before I moved to a host where I could compile PHP myself and setup PEAR, I used a solution Greg wrote up for PEAR 1.4.0: http://greg.chiaraquartet.net/archives/31-Using-PEAR-1.4.0-to-install-PEAR-packages-on-a-remote-host.html This lets you synchronise a local PEAR repository to a hosted version across FTP. Hope this helps :). Paddy Pádraic Brady http://blog.astrumfutura.com http://www.patternsforphp.com ----- Original Message ---- From: l Burnerheimerton <lburnerheimerton@yahoo.com> To: pear-general@lists.php.net Sent: Wednesday, September 12, 2007 4:21:49 PM Subject: [PEAR] how to use Pear packages without command line installing them? One of client's host will not allow command line install - therefore I can install PEAR the proper way. I have worked with one site that had the packages in the web-accessible directory structure and did something funcky at the top of most pages using set_ini(). Has anyone run into this issue and how do I work with the packages without installing them formally? Many thanks. ____________________________________________________________________________________ Need a vacation? Get great deals to amazing places on Yahoo! Travel. http://travel.yahoo.com/ -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ____________________________________________________________________________________ Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games. http://sims.yahoo.com/

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