Home  >  Article  >  Backend Development  >  Install phpredis in mac environment

Install phpredis in mac environment

WBOY
WBOYOriginal
2016-08-10 08:48:51849browse

1. Problem
When installing phpredis-master, there was a conflict between the module and the php version when php -m | grep redis. Failed to install the redis module into php
2. Code
Follow the article
http://blog.csdn.net/chong223...
3.Error

Install phpredis in mac environment

4. Data map
php version

Install phpredis in mac environment

phpize

Install phpredis in mac environment

Install phpredis in mac environment

Install phpredis in mac environment

5. Try

(1) The version of phpize executed when compiling the source code package is inconsistent with the version of phpize in the current PHP environment. Solution:
http://www.linuxde.net/2013/0...
The attempt failed and the error still occurred. same question.
(2) I went to github again to download the installation package and installed it, but the same version problem still occurred.
(3) Install the online article http://my.oschina.net/Twitter...
Perform the operation and continue trying. A problem occurred. The execution of the /configure --with-php-config=/usr/bin/php-config statement failed.

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