简体   繁体   English

无法加载动态库 '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'

I am attempting to connect from an android app to mySQL database within the WAMP server.我正在尝试从 android 应用程序连接到 WAMP 服务器中的 mySQL 数据库。 I am getting this error consistently throughout my php_error log:我在整个 php_error 日志中始终收到此错误:

PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_intl.dll'
             The specified module could not be found.

in Unknown on line 0

When I click on the Apache>Version>2.4.9 I get the 2 following errors as pop ups:当我单击 Apache>Version>2.4.9 时,弹出窗口出现以下 2 个错误:

The program cant start because icuuc51.dll is missing from your computer.
Try reinstalling the program to fix this problem

and

PHP startup: unable to load dynamic library 'c/wamp/bin/php/php5.5.12/ext/php_intl.dll'
The specified module could not be found.

Does anyone know what is causing this or any potential solutions?有谁知道是什么导致了这个或任何潜在的解决方案?

This can be corrected very simply as follows.这可以非常简单地纠正如下。

Using the wampmanager menus do the following :-使用 wampmanager 菜单执行以下操作:-

left click wampmanager -> Apache -> Version

and then click the version number, probably 2.4.9然后点击版本号,大概是2.4.9

This will cause WAMPServer to rebuild of all the SYMLINK's in the apache2.4.9/bin folder and that will put the correct symlinks in there for these 2 extensions.这将导致 WAMPServer 重建 apache2.4.9/bin 文件夹中的所有 SYMLINK,并将为这两个扩展放置正确的符号链接。

TO CORRECT THE SECOND ISSUE纠正第二个问题

Edit the \\wamp\\script\\config.inc.php file and find the code that sets this variable $phpDllToCopy and replace it with this code.编辑\\wamp\\script\\config.inc.php文件并找到设置此变量$phpDllToCopy的代码并将其替换为此代码。

$phpDllToCopy = array (
    'icudt52.dll', //[modif oto] - Ajouts pour éviter unknown error PHP 5.6.a2
    'icuin52.dll',
    'icuio52.dll',
    'icule52.dll',
    'iculx52.dll',
    'icutest52.dll',
    'icutu52.dll',
    'icuuc52.dll',
    'icudt51.dll', //[modif oto] - Ajouts pour éviter unknown error PHP 5.5.6
    'icuin51.dll',
    'icuio51.dll',
    'icule51.dll',
    'iculx51.dll',
    'icutest51.dll',
    'icutu51.dll',
    'icuuc51.dll',
    'icudt50.dll', //[modif oto] - Ajouts pour éviter unknown error PHP 5.5
    'icuin50.dll',
    'icuio50.dll',
    'icule50.dll',
    'iculx50.dll',
    'icutest50.dll',
    'icutu50.dll',
    'icuuc50.dll',
    'icudt49.dll', //[modif oto] - Ajouts pour éviter unknown error PHP 5.3/5.4
    'icuin49.dll',
    'icuio49.dll',
    'icule49.dll',
    'iculx49.dll',
    'icutest49.dll',
    'icutu49.dll',
    'icuuc49.dll',
    'libeay32.dll',
    'libsasl.dll', //[modif oto] - Ajout pour éviter unknown error
    'libintl.dll',
    'php5isapi.dll',
    'php5nsapi.dll',
    'ssleay32.dll',
    'php5ts.dll',
    'fribidi.dll', //[modif oto] - Ci-contre et dessous pour PHP 5.2.x
    'fdftk.dll',   // Peuvent être supprimés pour PHP 5.3.0 ou plus
    'libmcrypt.dll',
    'libmhash.dll',
    'libmysql.dll',
    'libmysqli.dll',
    'msql.dll',
    'ntwdblib.dll',
    'php5activescript.dll',
    );

I think you have to copy these files我想你必须复制这些文件

icudt.dll
icudt46.dll
icuin.dll
icuin46.dll
icuio.dll
icuio46.dll
icule.dll
icule46.dll
iculx.dll
iculx46.dll
icutest.dll
icutest46.dll
icutu.dll
icutu46.dll
icuuc.dll
icuuc46.dll

to the location <wamp_installation_path>/bin/apache/apache2.2.22/bin/ .到位置<wamp_installation_path>/bin/apache/apache2.2.22/bin/

See here for details.有关详细信息,请参见此处

First check if the mentioned file (php_intl.dll) is under c:\\wamp\\bin\\php5.5.12\\ext folder.首先检查提到的文件(php_intl.dll)是否在 c:\\wamp\\bin\\php5.5.12\\ext 文件夹下。
If so, open the following file with notepad:如果是这样,请用记事本打开以下文件:
c:\\wamp\\bin\\php5.5.12\\php.ini c:\\wamp\\bin\\php5.5.12\\php.ini
and check if you can find the following line (important: should not have ; sign before the word 'extension'):并检查您是否可以找到以下行(重要的是:不应在“扩展名”一词前签名):
extension=php_intl.dll扩展名=php_intl.dll

I had the similar issue when I installed wampserver 2.5 on windows10.我在 windows10 上安装 wampserver 2.5 时遇到了类似的问题。 So after some research and trying multiple solutions, I found following helpful:因此,经过一些研究并尝试多种解决方案后,我发现以下内容很有帮助:

This can be easily fixed by doing this with the wampmanager menus:-这可以通过使用 wampmanager 菜单轻松解决:-

  1. (left click) wampmanager->Apache->Version -> 2.4.9 (Click on the version number) (左键点击)wampmanager->Apache->Version -> 2.4.9(点击版本号)

  2. Wait 3 seconds for wampmanager to rebuild the SYMLINKS and restart Apache等待 3 秒让 wampmanager 重建 SYMLINKS 并重新启动 Apache

All fixed全部固定

Ref: http://forum.wampserver.com/read.php?2,138288参考: http : //forum.wampserver.com/read.php?2,138288

暂无
暂无

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

相关问题 无法加载动态库&#39;c:/wamp/bin/php/php5.5.12/ext/php_ldap.dll&#39; - 找不到指定的模块。 在第0行的未知中 - Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_ldap.dll' - The specified module could not be found. in Unknown on line 0 WAMP“无法加载动态库 php_intl.dll” - WAMP "Unable to load dynamic library php_intl.dll" XAMPP错误PHP intl无法加载“无法加载动态库&#39;C:\\\\ xampp \\\\ php \\\\ ext \\\\ php_intl.dll&#39;-找不到指定的模块” - 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” 带有wamp的intl扩展名php_intl.dll - intl extension php_intl.dll with wamp PHP启动:无法加载动态库&#39;php_intl.dll&#39;-找不到指定的模块 - PHP Startup:Unable to load dynamic library 'php_intl.dll'- The specified module could not be found PHP 错误:无法加载动态库 php_intl.dll,不是有效的 win32 应用程序? - PHP Error: Unable to load dynamic library php_intl.dll, not a valid win32 application? “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 国际扩展:安装 php_intl.dll - intl extension: installing php_intl.dll PHP启动:无法加载动态库&#39;C:\\\\ xampp \\\\ php \\\\ ext \\\\ php_sqlsrv_7_nts.dll&#39; - PHP Startup: Unable to load dynamic library 'C:\\xampp\\php\\ext\\php_sqlsrv_7_nts.dll' 无法加载动态库&#39;C:\\ xampp \\ php \\ ext \\ php_imagick.dll&#39;-找不到指定的模块 - Unable to load dynamic library 'C:\xampp\php\ext\php_imagick.dll' - The specified module could not be found
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM