Install and use of modules with multiphp

ok. now i was able to move successfully to hestiacp with multiphp installed.

Following Questions occured now:

  1. php version of CLI is now 7.3 but when using composer in order to install magento they want 7.2
    is it possible to switch to 7.2 for commandline for those cases?

  2. some software need some extra modules:
    how can i for example install ext soap and use it for example in php 7.2

UPDATE:
sudo update-alternatives --set php /usr/bin/php7.2
CLI can be set with
sudo update-alternatives --set php /usr/bin/php7.1
sudo update-alternatives --set php /usr/bin/php7.2
sudo update-alternatives --set php /usr/bin/php5.6
and so on

for 2., just install it over cli -> apt install phpx.x-whatever

1 Like