I have done the following steps to enable php_redis extension on my wampserver X64. Thread Safety was enabled.
Downloaded the Zip File from https://pecl.php.net/package/redis/5.2.2/windows this link.
Extract the zip file, copied php_redis.dll in
wamp64\bin\php\php7.3.12\ext\
directory.Added
extension=php_redis.dll
in php.ini file.Re-started the wamp Server.
Still I couldn't find redis on phpinfo()
.
When I check redis extension from WampServer tray icon, it showed me the following error:
The 'php_redis.dll' extension file exists but there is no 'extension=php_redis.dll' line in php.ini.
What am I missing here?
Php Version= 7.3.12, Windows 10 x64.
Update
I have re-installedwamp server, C++ redistributables and followed the same steps to enable php_redis extension. Now the previous error disappeared.
However, when I tried to use Redis on my code, it still shows error!
This time, I am getting the following error from my php error log:
[05-Jun-2020 12:45:17 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'redis' (tried: c:/wamp64/bin/php/php7.3.12/ext/redis (The specified module could not be found.), c:/wamp64/bin/php/php7.3.12/ext/php_redis.dll (The specified procedure could not be found.)) in Unknown on line 0