[英]“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
这是我尝试过的
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 。
I tried this solution with oracle我用 oracle尝试了这个解决方案
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.