国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

系統(tǒng)中缺少PHP擴(kuò)展文件信息的Composer錯(cuò)誤
P粉465675962
P粉465675962 2023-10-18 11:47:04
0
2
779

我正在嘗試安裝 Laravel 包干預(yù)圖像,當(dāng)我運(yùn)行 composer update 時(shí):

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

  Problem 1
    - intervention/image 2.0.5 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
    - intervention/image 2.0.4 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
    - intervention/image 2.0.3 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
    - intervention/image 2.0.2 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
    - intervention/image 2.0.1 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
    - intervention/image 2.0.0 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
    - Installation request for intervention/image 2.* -> satisfiable by intervention/image[2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5].

我有 php 5.4,并且在 php.iniphpinfo() 中啟用了擴(kuò)展:

fileinfo

fileinfo support                  enabled
version                           1.0.5

并重新啟動了apache...但仍然沒有運(yùn)氣。

P粉465675962
P粉465675962

全部回復(fù)(2)
P粉702946921

Windows 用戶:只需編輯 php.ini 并取消注釋此行:

extension=php_fileinfo.dll

記得重新啟動 Apache 以使新的 php.ini 生效。

P粉277464743

顯然這是因?yàn)?web/apache 和 CLI 有單獨(dú)的 php.ini 文件,并且作曲家使用 CLI 而 phpinfo() 使用主 php.ini出現(xiàn)問題。

如果您在 CLI 中運(yùn)行 php -m 并且沒有看到模塊的名稱,您應(yīng)該找到 CLI php.ini (在我的例子中 php- cli.ini 并添加擴(kuò)展名。例如 extension=php_fileinfo.dll

最新下載
更多>
網(wǎng)站特效
網(wǎng)站源碼
網(wǎng)站素材
前端模板