Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_intl.dll'

前端 未结 4 1600
长情又很酷
长情又很酷 2020-12-11 05:51

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:

PH         


        
相关标签:
4条回答
  • 2020-12-11 06:14

    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/.

    See here for details.

    0 讨论(0)
  • 2020-12-11 06:15

    First check if the mentioned file (php_intl.dll) is under c:\wamp\bin\php5.5.12\ext folder.
    If so, open the following file with notepad:
    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

    0 讨论(0)
  • 2020-12-11 06:17

    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 \wamp\script\config.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',
        );
    
    0 讨论(0)
  • 2020-12-11 06:17

    You simply need to install Visual C++ Redistributable for Visual Studio 2012 Update 4

    Explaination here : https://www.devside.net/wamp-server/unable-to-load-or-find-php-extension-php_intl-dll

    0 讨论(0)
提交回复
热议问题