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
4. Data map
php version
phpize
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.
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
4. Data map
php version
phpize
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.
This is obviously caused by the inconsistency between your phpize version and the php version. The solution is to find phpize and php-config that are consistent with the php version. It seems that you have not looked for these two files in your machine.
PS. The solutions on the Internet are just to give you ideas. Everyone’s machine environment is different. The file paths they provide are not applicable to your machine. If you just copy the solution, there is no guarantee that you can solve the problem.