PHP redis2.2.7 extension Bug results in segment failure and re-declaring class bugs

Source: Internet
Author: User

Work today because the PHP environment is also compiled after reinstalling the Debian system, there is no Redis extension installed.

Download a Redis 2.2.8 compilation from the official website by installing, php-m can see everything OK

Running the program is always provided rediscluster can not be re-declared to carefully check only one include, our own Rediscluster class, and then I put this line commented out do not prompt this error, the hint Rediscluster must have a parameter, Just pass in a parameter, and there is a fault in the operation.

From the official website of a Redis 2.2.7 from the new compilation, everything is normal.

I don't know if Reids 2.2.8 contains a class called Rediscluster, which causes conflicts with custom class names, and is hereby recorded!

PHP redis2.2.7 extension Bug results in segment failure and re-declaring class bugs

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.