首页 > 解决方案 > How to make composer use php72 instead of php

问题描述

How to make composer use php72 instead of php

I have two commands in my linux:

php and php72

so when I use something like:

composer install somepackage

it says that my php is 5.6 and the installation package requires php7, but how can I make it use the php72 to install the package?

标签: phpphp-7

解决方案


推荐阅读