Can't install laravel installer via composer

前端 未结 14 2095
栀梦
栀梦 2020-11-27 13:04

I\'m trying to install laravel installer with the composer on my Ubuntu PC, but I get this error during the installation. `Your requirements could not be resolved to an inst

14条回答
  •  迷失自我
    2020-11-27 13:26

    V=`php -v | sed -e '/^PHP/!d' -e 's/.* \([0-9]\+\.[0-9]\+\).*$/\1/'` \
    sudo apt-get install php$V-zip
    

提交回复
热议问题