News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Lorna Mitchell's Blog:
Downgrading a PECL Module
April 07, 2011 @ 11:03:12

Most of the time you spend using PECL modules, you'll either be upgrading or installing new ones. Occasionally, though, you might need to move the other direction and roll back to a previous version. This handy tip from Lorna Mitchell shows you the handy single-command method.

Recently I saw some weirdness in an existing application when I upgraded a PECL module that the application depended on. To figure out if that really was the problem, I wanted to downgrade the module to its previous version. There is no opposite command to "upgrade" but you can instruct pecl to install a specific version of a module, using the -f switch to force pecl to overwrite newer modules.

In her case, she needed to downgrade the pecl_oauth package to 1.0.0 from 1.1.0. The trick lies in the "-f" switch for the "pecl install" allowing you to specify the version to install.

0 comments voice your opinion now!
downgrade pecl module install version


blog comments powered by Disqus

Similar Posts

ServerGrove Blog: How to setup multiple PHP versions on Apache

PHPMac.com: Building and Installing Apache 2.2.2 and PHP 5.1.3 (or 5.1.4) on Mac OS X 10.4.6

Shashikant Jagtap: Behat2.4 : Painless installation with Composer

HowToForge.com: LAMP Installation On Ubuntu 6.06 For Linux Noobs

Padraic Brady's Blog: Zend Framework 1.5 And What The Future Holds


Community Events

Don't see your event here?
Let us know!


opinion interview threedevsandamaybe library framework podcast version laravel5 api security language symfony release series unittest introduction community voicesoftheelephpant laravel extension

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework