“Laragon” Warning: PHP Startup: Unable to load dynamic library ‘intl’ (tried: C:/laragon/bin/php/php-7.4.15-Win32-VC15-x64/extintl

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

  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 wich is the same C:laragonbinphpphp-7.4.15-Win32-VC15-x64ext.

  2. I tried this solution with oracle

  3. 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 !

Leave a Reply

Your email address will not be published. Required fields are marked *