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.