您好,登錄后才能下訂單哦!
在安裝intervention/p_w_picpath圖像處理擴展 報錯fileinfo is missing
報錯信息如下:
\blog>composer require intervention/p_w_picpath
Using version ^2.3 for intervention/p_w_picpath
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- intervention/p_w_picpath 2.3.7 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
- intervention/p_w_picpath 2.3.6 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
- intervention/p_w_picpath 2.3.5 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
- intervention/p_w_picpath 2.3.4 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
- intervention/p_w_picpath 2.3.3 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
- intervention/p_w_picpath 2.3.2 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
- intervention/p_w_picpath 2.3.1 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
- intervention/p_w_picpath 2.3.0 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
出現此錯誤的原因是php.ini中的fileinfo擴展沒有開啟
開啟 extension=php_fileinfo.dll
再重新安裝就可以了’
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。