Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
693 views
in Technique[技术] by (71.8m points)

mysql - 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. I am getting this error consistently throughout my php_error log:

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:

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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

This can be corrected very simply as follows.

Using the wampmanager menus do the following :-

left click wampmanager -> Apache -> Version

and then click the version number, probably 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.

TO CORRECT THE SECOND ISSUE

Edit the wampscriptconfig.inc.php file and find the code that sets this variable $phpDllToCopy and replace it with this code.

$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',
    );

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...