简体   繁体   English

“Laragon”警告:PHP 启动:无法加载动态库“intl”(已尝试:C:/laragon/bin/php/php-7.4.15-Win32-VC15-x64/ext\intl

[英]“Laragon” Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: C:/laragon/bin/php/php-7.4.15-Win32-VC15-x64/ext\intl

I just start a new project and have to switch from WAMP to Laragon .我刚开始一个新项目,必须从WAMP切换到Laragon Everything was good until I change the path of my " php " from C:\wamp64\bin\php to C:\laragon\bin\php .一切都很好,直到我将“ php ”的路径从C:\wamp64\bin\php更改为C:\laragon\bin\php When I try this command on my terminal php -v I have this message当我在终端php -v上尝试此命令时,我收到此消息

Warning: PHP Startup: Unable to load dynamic library 'intl' (tried: C:/laragon/bin/php/php-7.4.15-Win32-VC15-x64/ext\intl (Le module sp├®cifi├® est introuvable.), C:/laragon/bin/php/php-7.4.15-Win32-VC15-x64/ext\php_intl.dll (Le module sp├®cifi├® est introuvable.)) in Unknown on line 0 PHP 7.4.15 (cli) (built: Feb 2 2021 20:47:45) ( ZTS Visual C++ 2017 x64 ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies警告:PHP 启动:无法加载动态库“intl”(已尝试:C:/laragon/bin/php/php-7.4.15-Win32-VC15-x64/ext\intl(Le module sp├®fiest introuvable.), C:/laragon/bin/php/php-7.4.15-Win32-VC15-x64/ext\php_intl.dll (Le module sp├®cifi├® est introuvable.)) in Unknown on line 0 PHP 7.4.15 (cli) (build: Feb 2 2021 20:47:45) (ZTS Visual C++ 2017 x64) 版权所有 (c) PHP Group Zend Engine v3.4.0, 版权所有 (c)

So basically my path isn't recognized.所以基本上我的路径不被识别。 Here is what I tried这是我尝试过的

  1. check in the php.ini from Laragon the path extension_dir = "C:/laragon/bin/php/php-7.4.15-Win32-VC15-x64/ext" and compare to mine which is the same C:\laragon\bin\php\php-7.4.15-Win32-VC15-x64\ext .从 Laragon 签入 php.ini 路径extension_dir = "C:/laragon/bin/php/php-7.4.15-Win32-VC15-x64/ext"并与我的相同C:\laragon\bin进行比较\php\php-7.4.15-Win32-VC15-x64\ext

  2. I tried this solution with oracle用 oracle尝试了这个解决方案

  3. I tried this solution about visual studio我试过这个关于视觉工作室的解决方案

Problem Solved with: https://aka.ms/vs/16/release/VC_redist.x64.exe .问题已解决: https://aka.ms/vs/16/release/VC_redist.x64.exe

Just installed this and reboot Laragon and my command php -v work well i don't any error !刚刚安装了这个并重新启动 Laragon 和我的命令 php -v 运行良好,我没有任何错误!

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 PHP 警告:PHP 启动:无法加载动态库“intl” - PHP Warning: PHP Startup: Unable to load dynamic library 'intl' PHP 警告:PHP 启动:无法加载动态库“intl”错误 - PHP Warning: PHP Startup: Unable to load dynamic library 'intl' error 无法加载动态库 'c:/wamp/bin/php/php5.5.12/ext/php_intl.dll' - Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_intl.dll' PHP 启动:无法加载动态库“intl”(尝试:/opt/homebrew/lib/php/pecl/20190902/intl - PHP Startup: Unable to load dynamic library 'intl' (tried: /opt/homebrew/lib/php/pecl/20190902/intl PHP 错误:无法加载动态库 php_intl.dll,不是有效的 win32 应用程序? - PHP Error: Unable to load dynamic library php_intl.dll, not a valid win32 application? PHP 警告:PHP 启动:无法加载动态库“intl”未定义符号:__cxa_throw_bad_array_new_length - PHP Warning: PHP Startup: Unable to load dynamic library 'intl' undefined symbol: __cxa_throw_bad_array_new_length XAMPP错误PHP intl无法加载“无法加载动态库'C:\\\\ xampp \\\\ php \\\\ ext \\\\ php_intl.dll'-找不到指定的模块” - XAMPP Error PHP intl not loading “Unable to load dynamic library 'C:\\xampp\\php\\ext\\php_intl.dll' - The specified module could not be found” PHP启动:无法加载动态库'php_intl.dll'-找不到指定的模块 - PHP Startup:Unable to load dynamic library 'php_intl.dll'- The specified module could not be found PHP 警告 PHP 启动无法加载动态库 php_pdo_sqlsrv_7_ts_x64.dll - PHP Warning PHP Startup Unable to load dynamic library php_pdo_sqlsrv_7_ts_x64.dll PHP:无法加载动态库intl.so(OSX) - PHP: Unable to load dynamic library intl.so (OSX)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM