Mac installing Redis Experiencing problems

Source: Internet
Author: User
With the development of lamp in Mac, Redis is required, and the Redis driver for installing PHP is having problems.
My Mac is 10.9.1.

Installation driver:
Go to Php-redis directory and execute phpize 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:

With the development of lamp in Mac, Redis is required, and the Redis driver for installing PHP is having problems.
My Mac is 10.9.1.

Installation driver:
Go to Php-redis directory and execute phpize 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

The problem has been solved
Talk about the two problems encountered, the specific operation of Google
1. Using the Phpize report grep:/usr/include/php/main/php.h:no such file or directory
WORKAROUND: It may be because your Mac is upgraded and you need a link for ln xcode
2. Use phpize cannot find autoconf
FIX: Need to install autoconf

How do you install, if you use homebrew, the basic installation of software can be found in/usr/loca/, bin and Sbin is an executable file, etc is configured, cellar is a software file, and so on. I use the nginx don't know how to play Apache.
I don't know the rest of it. I wish I could help you.

  • Related Article

    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.