简体   繁体   中英

WAMP "Unable to load dynamic library php_intl.dll"

I just bought a Surface Pro 4 and installed WAMP on it.

But it keeps giving me an error;

PHP Startup: Unable to load dynamic library "..../php_intl.dll" - The specified module could not be found.

But when I searched through the directory, the file is there. I've the same WAMP version installed on my desktop and work laptop (both Windows 10) and they all worked fine out the box. I've tried searching and following some of the help online but none of them worked: reinstalling wamp and copying icu files to apache folder.

A step-by-step process would be appreciated as I'm kinda new to WAMP. Thanks.

This is a minor bug in the WAMPServer install.

It can be corrected very simply, all from the wampmanager menus like this

(left click) wampmanager icon -> Apache -> Version -> 2.4.9

Just click the version number 2.4.9 or whatever version number you have currently selected.

This will cause wampmanager to rebuild the SYMLINKS in \wamp\apache\apache{version}\bin and then restart Apache.

Also undo everything that Dr. Z suggested, I am afraid it's all bad advice.

https://www.microsoft.com/en-us/download/details.aspx?id=30679安装“Visual C++ Redistributable for Visual Studio 2012 Update 4”对我有用。

您必须检查 php_intl 扩展,它位于 { (left click) wampmanager icon(W) in system tray -> PHP -> PHP extensions -> php_intl }

I had "Microsoft Visual C++ Redistributable para Visual Studio 2015" installed and it didn't work.

Installing "Microsoft Visual C++ Redistributable para Visual Studio 2015, 2017 y 2019" from https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads worked for me.

After verifying your extensions, environmental variables and everything works fine but facing same problem, go ahead

Installing Latest Microsoft Visual C++ Redistribution from Microsoft https://docs.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist?view=msvc-170#section-2

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM