Home > Backend Development > PHP Tutorial > macos - When installing phpredis-master in a mac environment, there is a problem that the module conflicts with the php version when checking the extension installation.

macos - When installing phpredis-master in a mac environment, there is a problem that the module conflicts with the php version when checking the extension installation.

WBOY
Release: 2016-08-10 09:07:16
Original
1068 people have browsed it

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

macos - When installing phpredis-master in a mac environment, there is a problem that the module conflicts with the php version when checking the extension installation.

4. Data map
php version

macos - When installing phpredis-master in a mac environment, there is a problem that the module conflicts with the php version when checking the extension installation.

phpize

macos - When installing phpredis-master in a mac environment, there is a problem that the module conflicts with the php version when checking the extension installation.

macos - When installing phpredis-master in a mac environment, there is a problem that the module conflicts with the php version when checking the extension installation.

macos - When installing phpredis-master in a mac environment, there is a problem that the module conflicts with the php version when checking the extension installation.

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.

Reply content:

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

macos - When installing phpredis-master in a mac environment, there is a problem that the module conflicts with the php version when checking the extension installation.

4. Data map
php version

macos - When installing phpredis-master in a mac environment, there is a problem that the module conflicts with the php version when checking the extension installation.

phpize

macos - When installing phpredis-master in a mac environment, there is a problem that the module conflicts with the php version when checking the extension installation.

macos - When installing phpredis-master in a mac environment, there is a problem that the module conflicts with the php version when checking the extension installation.

macos - When installing phpredis-master in a mac environment, there is a problem that the module conflicts with the php version when checking the extension installation.

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.

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template