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.