Because I already use ASP.NET I decided to use PHP on IIS, I install it using Wep PI but when I trying to install Composer he fails with PHP settings error.
I tried to change the extension_dir to absolute and uncommented php_wincache extension in php.ini but none of my solutions works
C:\Program Files (x86)\iis express\PHP\v7.2\php.exe
The php.ini used by your command-line PHP is: C:\Program Files (x86)\iis express\PHP\v7.2\php.ini
A setting in your php.ini could be causing the problem: Either the 'extension_dir' value is incorrect or the dll does not exist.
Program Output:
PHP Warning: PHP Startup: Unable to load dynamic library 'php_wincache.dll' (tried: C:\Program Files (x86)\iis express\PHP\v7.2\ext\php_wincache.dll (%1 n’est pas une application Win32 valide.), C:\Program Files (x86)\iis express\PHP\v7.2\ext\php_php_wincache.dll.dll (Le module spécifié est introuvable.)) in Unknown on line 0
Best Answer
It's a little late to answer this question. But I also face the same issue and somehow able to resolve it. Please follow below steps to resolve this.
Step 1: Install Windows Cache Extension for PHP.
Step 2: After installation goes to folder "Windows Cache for PHP". Copy php_wincache.dll.
Step 3: Paste copied file into your PHP/ext location. e.g. "C:/Program Files/PHP/v7.0/ext".
Now you can try to install composer again.
I hope this will help you.