Can't install laravel installer via composer

前端 未结 14 2142
栀梦
栀梦 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:10

    zip extension is missing, You can avoid this error by simple running below command, It will take version by default

    sudo apt-get install php-zip
    

    In case you need any specific version, You need to mention a specific version of your php, Suppose I need to install X version of php-zip then the command will be.

    sudo apt-get install phpX-zip  
    

    Replace X with your required version, In my case, it is X = 7.3

提交回复
热议问题