Apache-how to install the redis extension package in php5.6 in windows

Source: Internet
Author: User
Ask for PHP5.6 version redis extension package and installation method. Previously, php5.2.6 was used in php. add {code...} under ini ...} restart the apache server to use it. This time, I found a redis5.5 available extension package and added {code...} as prompted ...} restart apache, redis is still unavailable... ask for PHP5.6 version redis extension package and installation method.
Previously, php5.2.6 was used, and added in php. ini.

[redis]extension=php_redis.dll

Restart the apache server to use it. This time, I found a redis5.5 available extension package and added it as prompted.

[redis]extension=php_igbinary.dllextension=php_redis.dll

Restart apache and redis is still unavailable. Could you tell me this is a problem with the redis package or is it wrong to add it?

Reply content:

Ask for PHP5.6 version redis extension package and installation method.
Previously, php5.2.6 was used, and added in php. ini.

[redis]extension=php_redis.dll

Restart the apache server to use it. This time, I found a redis5.5 available extension package and added it as prompted.

[redis]extension=php_igbinary.dllextension=php_redis.dll

Restart apache and redis is still unavailable. Could you tell me this is a problem with the redis package or is it wrong to add it?

It should be a problem of Redis expansion. Please obtain the Redis package from PECL official: Official

You are using an Apache server. Pay attention to downloading the extension of the Thread Safe version and your PHP program version and system version. For PHP of x64 version, download the corresponding x64 version extension.

Add the path of php.exe to the environment variable...

Then, run the following command in CMD:

C:> php -m

Check whether the PHP module has been loaded and changed... check whether there is an error message on the [model] block... sometimes the etx path is not specified, so the module cannot be loaded.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.