Re: Installing Pear in a Production Environment

From: Date: Fri, 09 Mar 2007 03:35:34 +0000
Subject: Re: Installing Pear in a Production Environment
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-26798@lists.php.net to get a copy of this message
I add a pear installation for each php application, installing only what is needed and adding it to version control just like any other include directory. This will avoid any problems with BC breaks and installing on hosted environments. To bootstrap a pear installation, either clone an existing one or use go-pear: lynx -source http://pear.php.net/go-pear | php -q A couple of days ago I posted some points about switching between local pear installations: http://pyrus.sourceforge.net/pear-switch.html > > I have recently come across PEAR as a PHP developer, and I am > considering using it at my company as an integrated part of our > development process. But I had a few questions, and was hoping I > could garner everyone's thoughts. As most developers, we do our work > in a home working directory, user acceptance testing in another area, > and of course, the live production site for the client is a > completely different server. I am wondering people's experiences in > using PEAR in this fashion. Adopting PEAR would mean that not only > would we have to install it on our servers, but on our client's > servers as well. Sometimes, our clients outsource their hosting, > such as to some other hosting provider. I am curious to hear the > thoughts of other professionals who have implemented PEAR into their > development environments, and how it has worked for you. > -- David Sanders

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