I just start a new project and have to switch from WAMP to Laragon.
Everything was good until I change the path of my “php” from C:wamp64binphp to C:laragonbinphp.
When i try this command on my terminal php -v i have this message
Warning: PHP Startup: Unable to load dynamic library ‘intl’ (tried: C:/laragon/bin/php/php-7.4.15-Win32-VC15-x64/extintl (Le module
sp├®cifi├® est introuvable.),
C:/laragon/bin/php/php-7.4.15-Win32-VC15-x64/extphp_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
So basically my path isn’t recognised.
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 wich is the same C:laragonbinphpphp-7.4.15-Win32-VC15-x64ext.
-
I tried this solution with oracle
-
Itried this solution about visual studio
I’m actually stuck for a new job if someone have an idea ur welcome !
Answer
Problem Solved with :
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 !