Your requirements could not be resolved to an installable set of packages for laravel

前端 未结 6 1496
猫巷女王i
猫巷女王i 2021-02-05 05:01

I use 5.7v Laravel and 7.2.1v PHP and composer last version, but when I like to create new project these errors appeared:

Your requirements could not be resolved         


        
6条回答
  •  南方客
    南方客 (楼主)
    2021-02-05 05:44

    First of all, stop the XAMPP/Wamp and then kindly remove the starting semicolon ( ; ) from your xampp\php\php.ini the following code.

    ;extension=fileinfo
    

    or in windows with IIS

    extension=php_fileinfo.dll
    

    And then restart your XAMPP/Wamp.


    NOTE: For Windows, you can find the file in the C:\xampp\php\php.ini-Folder (Windows) or in the etc-Folder (within the xampp-Folder).

提交回复
热议问题