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

Asked

Viewed 1,496 times

1

I am using windows 10, 64 bits. While trying to install Composer, it displays error:

The php that is being indicated in the Composer installation is the Wamp one (located at c:/wamp64/bin/php/php7.0.10), and I’ve already checked that the php_intl dll is there. I have tried to change php.ini in the extension_dir line by putting the full path, but I still find this problem. If someone could give me a hand please...

2 answers

1

Uncomment the extension in your php.ini just already solve the problem, after that you should restart the Wamp service. If it doesn’t work, you will probably need to download and install this extension.

1

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 perhaps be wrong in your php.ini, which is affecting loading extensions.

If the extensions are actually inside the folder c:/wamp64/bin/php/php7.0.10/ext, then the way 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 the php_intl.dll does not exist inside the folder or has been moved to c:/wamp64/bin/php/php7.0.10/ or using an incorrect version of .dll (I even had some problems with PHP7 extensions on Windows)

If your DLL’s are out of the folder ext you can then adjust the extension_dir for:

extension_dir="."

Or:

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

Or move all files with prefix php_ into the folder ext

Browser other questions tagged

You are not signed in. Login or sign up in order to post.