Composer installation error: 'could not find the specified module (php_intl.dll)'

0

I'm using windows 10, 64 bit. When you try to install the composer, it displays the error:

The php that is being nominated in the composer installation is Wamp (located at c: /wamp64/bin/php/php7.0.10), and I have already checked that the php_intl dll is there. I already tried changing the php.ini, in the extension_dir line, putting the complete path, but I still encounter this problem. If anyone can give me a hand please ...

    
asked by anonymous 21.08.2017 / 20:32

2 answers

0

Uncommenting the extension in your php.ini would only solve the problem, after that you should restart the Wamp service. If it does not work, you probably need to download and install this extension.

    
21.08.2017 / 20:52
0

The message may be the problem:

  

A setting in your php.ini could be causing the problem: Either the 'extension_dir' value is incorrect or the dll does not exist.

The configuration of extension_dir may be maybe wrong in your php.ini, which is affecting loading extensions.

If the extensions are actually inside the c:/wamp64/bin/php/php7.0.10/ext folder, then the path in php.ini must be

extension_dir="ext"

Or:

extension_dir="c:/wamp64/bin/php/php7.0.10/ext"

If it still fails, it's because somehow php_intl.dll does not exist inside the folder or has been moved to c:/wamp64/bin/php/php7.0.10/ or is using an incorrect version of .dll (I even had some problems with PHP7 extensions on Windows)

If your dlls are outside the ext folder you can then set the extension_dir to:

extension_dir="."

Or:

extension_dir="c:/wamp64/bin/php/php7.0.10"

Or move all files with php_ prefix to the ext folder

    
21.08.2017 / 20:56