Table of Contents
Reply content:
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.

Aug 10, 2016 am 09:07 AM
macos php redis

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.

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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1664
14
PHP Tutorial
1268
29
C# Tutorial
1246
24
How to use the Redis cache solution to efficiently realize the requirements of product ranking list? How to use the Redis cache solution to efficiently realize the requirements of product ranking list? Apr 19, 2025 pm 11:36 PM

How does the Redis caching solution realize the requirements of product ranking list? During the development process, we often need to deal with the requirements of rankings, such as displaying a...

Redis's Role: Exploring the Data Storage and Management Capabilities Redis's Role: Exploring the Data Storage and Management Capabilities Apr 22, 2025 am 12:10 AM

Redis plays a key role in data storage and management, and has become the core of modern applications through its multiple data structures and persistence mechanisms. 1) Redis supports data structures such as strings, lists, collections, ordered collections and hash tables, and is suitable for cache and complex business logic. 2) Through two persistence methods, RDB and AOF, Redis ensures reliable storage and rapid recovery of data.

What should I do if the Redis cache of OAuth2Authorization object fails in Spring Boot? What should I do if the Redis cache of OAuth2Authorization object fails in Spring Boot? Apr 19, 2025 pm 08:03 PM

In SpringBoot, use Redis to cache OAuth2Authorization object. In SpringBoot application, use SpringSecurityOAuth2AuthorizationServer...

The Compatibility of IIS and PHP: A Deep Dive The Compatibility of IIS and PHP: A Deep Dive Apr 22, 2025 am 12:01 AM

IIS and PHP are compatible and are implemented through FastCGI. 1.IIS forwards the .php file request to the FastCGI module through the configuration file. 2. The FastCGI module starts the PHP process to process requests to improve performance and stability. 3. In actual applications, you need to pay attention to configuration details, error debugging and performance optimization.

Understanding macOS: A Beginner's Guide Understanding macOS: A Beginner's Guide Apr 22, 2025 am 12:11 AM

The basic operations of macOS include starting applications, managing files, and using system settings. 1. Start the application: Use the Terminal command "open-aSafari" to start the Safari browser. 2. Manage files: browse and organize files through Finder. 3. Use system settings: understand the functions of Dock and Launchpad to improve operational efficiency. Through these basic operations, you can quickly master how to use macOS.

macOS: System Architecture and Core Components macOS: System Architecture and Core Components Apr 28, 2025 am 12:05 AM

The system architecture of macOS includes hardware abstraction layer, XNU core, I/OKit, core services and Aqua user interface. Core components include the startup process, the APFS file system, and SystemIntegrityProtection. Performance optimization and best practices involve hardware configuration, software setup, and development skills.

macOS: Security, Privacy, and Reliability macOS: Security, Privacy, and Reliability Apr 24, 2025 am 12:08 AM

macOS performs excellent in security, privacy protection and reliability: 1) Security is protected through sandbox technology, multi-layer defense strategy such as Gatekeeper and XProtect; 2) Privacy protection allows users to control applications' access to sensitive data through the TCC framework; 3) Reliability ensures the stable operation of the system through regular updates and TimeMachine backups.

Redis: Understanding Its Architecture and Purpose Redis: Understanding Its Architecture and Purpose Apr 26, 2025 am 12:11 AM

Redis is a memory data structure storage system, mainly used as a database, cache and message broker. Its core features include single-threaded model, I/O multiplexing, persistence mechanism, replication and clustering functions. Redis is commonly used in practical applications for caching, session storage, and message queues. It can significantly improve its performance by selecting the right data structure, using pipelines and transactions, and monitoring and tuning.

See all articles