Laravel安裝horizon報錯解決方案

aba66發表於2021-11-29

報錯內容

To enable extensions, verify that they are enabled in your .ini files:
    - D:\phpstudy_pro\Extensions\php\php7.4.3nts\php.ini
  You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.

解決辦法

*** 在命令後邊新增 –ignore-platform-reqs 如下:

composer require laravel/horizon --ignore-platform-reqs
本作品採用《CC 協議》,轉載必須註明作者和本文連結

相關文章