search
HomeBackend DevelopmentPHP ProblemWhat should I do if the PHP redis extension installation fails?

The solution to the unsuccessful installation of the php redis extension: first put php_redis.dll and php_igbinary.dll into the PHP ext folder; then modify the php.ini configuration file; and finally restart the WebServer.

What should I do if the PHP redis extension installation fails?

Recommendation: "PHP Video Tutorial"

PHP under windows, redis plug-in installation failed

PHP5.4.x redis extension php_redis.dll

Extension download address:

https://github.com/nicolasff/phpredis/downloads

Contains two versions, Non Thread Safe and Thread Safe

First put php_redis.dll and php_igbinary.dll into the PHP ext folder,

Then add the following code to the php.ini configuration file:

extension=php_igbinary.dll  
extension=php_redis.dll

Restart WebServer

Note:

extension=php_igbinary.dll must be placed in front of extension=php_redis.dll, otherwise this extension will not take effect.

The xampp used

win7 x64

php version is 5.4.4

System Windows NT 6.1 build 7601 (Windows 7 Ultimate Edition Service Pack 1) i586

Build Date Jun 13 2012 21:17:57

Compiler MSVC9 (Visual C 2008)

Architecture x86

at https:/ /github.com/nicolasff/phpredis... I downloaded the new phpredis_5.4_vc9_ts.7z version and installed it. The corresponding plug-in did not appear in phpinfo

Check the php error log and reported PHP Warning: PHP Startup: in Unknown on line 0, it should be incompatible

I don’t know how to configure redis in a similar environment, thank you

(I have changed to version 5.4.7 of php and it cannot be installed successfully =_=)

The above is the detailed content of What should I do if the PHP redis extension installation fails?. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undress AI Tool

Undress AI Tool

Undress images for free

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor