Just in case, this may help someone, I managed to solve the error on PHP 7.1.12 by installing a 32-bit DLL.
I got an error:
Warning: PHP Startup: Unable to load dynamic library '.../php_redis.dll' not a valid Win32 application
But after installing the 32-bit version, the warning disappeared.
To find out which XAMPP / WAMP architecture you are using, go to phpinfo () and find the value βArchitectureβ, this was the fourth line for me, and, as expected, the value is x86.
source share