Php In phpredis-windows, redis plug-in installation fails

Source: Internet
Author: User
Tags php error log
The xamppwin7x64 php version is customized (Windows7UltimateEditionServicePack1) i586BuildDateJun13201221: 17: 57CompilerMSVC9 (VisualC ++ 2008) ubunturex86 ..
Win7 x64 bit
Php version 5.4.4

System Windows NT 6.1 build 7601 (Windows 7 Ultimate Edition Service Pack 1) i586
Build DateJun 13 2012 21:17:57
CompilerMSVC9 (Visual C ++ 2008)
Ubunturex86

Under the new phpredis_5.4_vc9_ts.7z version in the https://github.com/nicolasff/phpredis..., install in, there is no corresponding plug-in phpinfo
Check the php error log and report PHP Warning: PHP Startup: in Unknown on line 0, which should be incompatible.

I don't know how to configure redis in a similar environment. Thank you.
(Php versions 5.4.7 cannot be installed successfully. = _ =)

Reply content:

Xampp used
Win7 x64 bit
Php version 5.4.4

System Windows NT 6.1 build 7601 (Windows 7 Ultimate Edition Service Pack 1) i586
Build DateJun 13 2012 21:17:57
CompilerMSVC9 (Visual C ++ 2008)
Ubunturex86

Under the new phpredis_5.4_vc9_ts.7z version in the https://github.com/nicolasff/phpredis..., install in, there is no corresponding plug-in phpinfo
Check the php error log and report PHP Warning: PHP Startup: in Unknown on line 0, which should be incompatible.

I don't know how to configure redis in a similar environment. Thank you.
(Php versions 5.4.7 cannot be installed successfully. = _ =)

Php_redis.dll extension for redis in PHP5.4.x

Extension:
Https://github.com/nicolasff/phpredis/downloads

Includes both Non-Thread Safe and Thread Safe versions.

Firstphp_redis.dllAndphp_igbinary.dllPut the PHP ext folder,
Then add the following code in the php. ini configuration file:

extension=php_igbinary.dll  extension=php_redis.dll

Restart WebServer

Note:
extension=php_igbinary.dllMust be placed inextension=php_redis.dllOtherwise, the extension will not take effect.

Download the corresponding version here. My configuration is correct.

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.