Problems with installing redis on mac

Source: Internet
Author: User
For lamp development in mac, redis needs to be installed, and a problem occurs when the redis driver of php is installed. My driver is installed in mac10.9.1: go to the php-redis directory and run phpize to report the following error: 1. grep: usr?dephpmainphp. h: Nosuchfileordirectorygrep... for lamp development in mac, redis needs to be installed, and a problem occurs when the redis driver of php is installed.
My mac address is 10.9.1.

Install driver:
Go to the php-redis directory and run phpize to report the following error:
1.
Grep:/usr/include/php/main/php. h: No such file or directory
Grep:/usr/include/php/Zend/zend_modules.h: No such file or directory
Grep:/usr/include/php/Zend/zend_extensions.h: No such file or directory

2.
Cannot find autoconf

Reply content:

For lamp development in mac, redis needs to be installed, and a problem occurs when the redis driver of php is installed.
My mac address is 10.9.1.

Install driver:
Go to the php-redis directory and run phpize to report the following error:
1.
Grep:/usr/include/php/main/php. h: No such file or directory
Grep:/usr/include/php/Zend/zend_modules.h: No such file or directory
Grep:/usr/include/php/Zend/zend_extensions.h: No such file or directory

2.
Cannot find autoconf

Problem solved
Let's talk about two problems,Google
1. use phpize to report grep:/usr/include/php/main/php. h: No such file or directory
Solution: it may be because the mac has been upgraded and ln xcode links are required.
2. use phpize to report Cannot find autoconf
Solution: install autoconf

Which method do you use for installation? if homebrew is used, you can find the basic installed software in/usr/loca/. bin and sbin are executable files, and etc are configuration files, cellar is a software file, and so on. The nginx I use does not know how to use apache ..
I don't know anything else. I hope to help you.

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.