Skip to content

Instantly share code, notes, and snippets.

@Aurielle
Last active December 14, 2015 16:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Aurielle/81c615af9522d10101db to your computer and use it in GitHub Desktop.
Save Aurielle/81c615af9522d10101db to your computer and use it in GitHub Desktop.
Redis + PHP 5.5 + Windows - howto?

Redis + PHP 5.5 + Windows - howto?

Either compile the extension by yourself using these instructions. Applicable for whatever PHP version you're using.

Alternatively, prebuilt binaries are available for PHP 5.3/5.4 or PHP 5.5. Always download x86 version of the extensions (unless you're using 64bit PHP) and verify that Zend Extension Build and PHP Extension Build correspond to the version you're downloading.

Newer binaries are here: http://windows.php.net/downloads/pecl/snaps/redis/2.2.5/

After you've aquired the two DLLs, put them inside ext folder in your PHP installation and modify php.ini, adding the following:

; php-redis
extension=php_igbinary.dll
extension=php_redis.dll

Redis section will be present in phpinfo() after successful installation. If nothing is present or your server/executable can't be run, check the logs and (probably) build the extension yourself.

Partial source: http://www.programering.com/a/MjMwkDNwATQ.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment