亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

PHP 警告:PHP 啟動:無法加載動態庫 'intl' 錯誤

PHP 警告:PHP 啟動:無法加載動態庫 'intl' 錯誤

PHP
繁星淼淼 2023-06-24 16:15:29
我正在嘗試執行命令“composer install”命令。但出現此錯誤:PHP Warning:  PHP Startup: Unable to load dynamic library 'intl' (tried: ./ext/intl (The specified module could not be found.), ./ext/php_intl.dll (The specified module could not be found.)) in Unknown on line 0Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: ./ext/intl (The specified module could not be found.), ./ext/php_intl.dll (The specified module could not be found.)) in Unknown on line 0PHP Warning:  Module 'pdo_mysql' already loaded in Unknown on line 0Warning: Module 'pdo_mysql' already loaded in Unknown on line 0PHP Warning:  PHP Startup: Unable to load dynamic library 'intl' (tried: ./ext/intl (The specified module could not be found.), ./ext/php_intl.dll (The specified module could not be found.)) in Unknown on line 0PHP Warning:  Module 'pdo_mysql' already loaded in Unknown on line 0Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: ./ext/intl (The specified module could not be found.), ./ext/php_intl.dll (The specified module could not be found.)) in Unknown on line 0Warning: Module 'pdo_mysql' already loaded in Unknown on line 0Loading composer repositories with package informationInstalling dependencies (including require-dev) from lock fileYour requirements could not be resolved to an installable set of packages.  Problem 1    - The requested PHP extension ext-intl * is missing from your system. Install or enable PHP's intl extension.這是我的 php ini 文件。我刪除了 ”;” 來自“extension=intl”但它仍然給我錯誤;extension=bz2extension=curlextension=fileinfoextension=gd2;extension=gettext;extension=gmpextension=intl;extension=imap;extension=interbase;extension=ldapextension=mbstring;extension=exif      ; Must be after mbstring as it depends on it;extension=mysqli;extension=oci8_12c  ; Use with Oracle Database 12c Instant Client
查看完整描述

2 回答

?
哈士奇WWW

TA貢獻1799條經驗 獲得超6個贊

簡單地將 icu*63.dll 或 icu*68.dll(對于 PHP 8)文件從 php 目錄復制到 apache24/bin

它適用于 Apache + PHP 8.0.0 x64 + intl


查看完整回答
反對 回復 2023-06-24
?
MM們

TA貢獻1886條經驗 獲得超2個贊

如果您使用 PHP v7.3.2,此鏈接中報告了有關加載動態庫 intl 的錯誤。



查看完整回答
反對 回復 2023-06-24
?
阿波羅的戰車

TA貢獻1862條經驗 獲得超6個贊

我在 Windows 服務器上從 php7.4 遷移到 php8.1 時遇到了類似的問題。解決方案是在 PATH 環境變量中添加 php8 目錄和 php8 ext 目錄的路徑。



查看完整回答
反對 回復 2023-06-24
  • 2 回答
  • 0 關注
  • 798 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號