User composer with other php-version

NethServer Version: 7.8
Module: your_module

Hi i installed composer.noarch. But i want to user composer with php >7 and composer is running with php 5.4 so some require parameters won’t work.
How do i use composer with an other php version?
Regards Sebastian


Hi Sebastian

If you have Stephdl’s module for PHP Versions installed, you can set a different version of PHP for each vhost. The standard of Nethserver remains at the upstream value, I think still 5.4…

This makes it really easy. :slight_smile:

My 2 cents