How to install extensions for multiple php versions?

3 posts / 0 new
Last post
#1 Mon, 02/13/2017 - 03:59
epets

How to install extensions for multiple php versions?

Hello,

I have an old PHP 5.3 on CentOS 6. I installed a new PHP 5.5 according to the documents of Multiple PHP Versions (https://www.virtualmin.com/documentation/web/multiplephp). It does work but I need some new extensions for the new PHP 5.5. I wonder how I install the required extensions like GD for the new PHP 5.5 version?

Thank you for your help. Epets

Tue, 02/14/2017 - 16:59
tpnsolutions
tpnsolutions's picture

Hi,

Most extensions using the method mentioned can be installed via the command line by doing something like:

yum install php55-php-EXTENSION

So let's say you want to install php-soap for PHP 5.5, you'd run yum install php55-php-soap

Hopefully this helps!

Best Regards,
Peter Knowles | TPN Solutions
Email: pknowles@tpnsolutions.com | Skype: tpnassist
Thu, 02/16/2017 - 09:34
epets

Thank you so much !

Topic locked