Setting up Zend Framework from PEAR
Alright, so I’ve just changed my VPS provider because 1&1 are shit and my buddy Andy runs a good hosting gig http://www.theserve.com/. We’re running our stuff one one of his VPS’s until September and will more than likely move to a dedicated server once we move office. Any way!
One of the teething issues I have with Zend Framework is that with every ZF project I put up on the server I’ve had to include a distro of ZF in the library folder, or constantly keep a centralised version up to date by downloading and overwriting… Until now… There’s an unofficial pear channel that will let you install and update ZF with 1 command… Here’s what you need to type in terminal…
pear channel-discover zend.googlecode.com/svn pear install zend/zend
That’s it, the Zend Framework will be installed and accessible from every website, as with PHP, make sure you only update to the latest version if you’re 100% sure that all of your web applications will work.