Stack Overflow Asked by Mrugaya Tari on January 22, 2021
I added
php_redis.dll file in /php/ext folder
and added
extension=redis in php.ini file.
I am using 64bit xampp server on windows 10. This is what I see in the error log:
Warning: PHP Startup: Unable to load dynamic library ‘php_redis.dll’
(tried: C:xamppphpextphp_redis.dll (%1 is not a valid Win32
application.), C:xamppphpextphp_php_redis.dll.dll (The specified
module could not be found.)) in Unknown on line 0
Anyone faced similar issues? Do we have a working solution for this?
Okey guys, i have same errors and do some tests))
i have only x86 based solution, i use this for my web devel, worked 100% on Windows 10 x64, so
Download and install Redis 3.2.100 x64 for Windows, (or latest https://github.com/MicrosoftArchive/redis/releases/), with this link: https://github.com/microsoftarchive/redis/releases/download/win-3.2.100/Redis-x64-3.2.100.msi
Check and save in text file your version of PHP with PHPInfo and additional info: VC14 or VC15, x86 or x64, Thread Safe or Not Thread Safe - you may check with this command: php -i|findstr "Thread" - if enabled you use TS version.
If you not have installed PHP download and unpack (install) PHP v7.3.25 NTS Win32 VC15 x86, with this link: https://windows.php.net/downloads/releases/php-7.3.25-nts-Win32-VC15-x86.zip
Download Redis v5.1.1 for PHP 7.3 NTS VC15 x86, (or latest https://pecl.php.net/package/redis click on DLL and choose needed version PHP 7.x and check TS or NTS version) or use this link: https://windows.php.net/downloads/pecl/snaps/redis/5.1.1/php_redis-5.1.1-7.3-nts-vc15-x86.zip
Create dir with small symbols:
C:phpext
Unpack php_redis-5.1.1-7.3-nts-vc15-x86.zip archive and copy two files to C:phpext directory:
php_redis.dll
php_redis.pdb
Edit your php.ini in PHP dir: search & edit your "Paths and Directories" section, like that:
;include_path = ".;c:phpincludes"
;extension_dir =
doc_root =
user_dir =
also search & edit your "Dynamic Extensions" section, add line:
extension=php_redis.dll
Answered by Itz on January 22, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP