Today, faced with the problem of installing php module libssh2 on a server with Centos 6.6 and PHP 5.4.37.
A simple way, like team pecl install ssh2, the module becomes refused flies error "Failed to download pecl/ssh2 within preferred state "stable", latest release is version 0.12, stability "beta", use "channel://pecl.php.net/ssh2-0.12" to install install failed".
To deal with this, I did not, and went the other way.
PHP version 5.2, though, and already seems to have outlived its function, but still more is needed. After all, there are more old sites that will not work on newer versions of php. For example those that are encoded by Zend 5.2, and they are not alone.
We have: server OS Centos on board, ISPmanager control panel and set the standard method php 5.3.x.
Task: installed on the server and more php 5.2, and implement convenient switching between versions for each site.
The basic version of php we will be the 5.3, as can be updated without any problems, etc., but more will be version 5.2, since its development is completed.