Php OCI8 PECL MACOS Maverik

Php OCI8 PECL MACOS Maverik,php,osx-mavericks,oci8,Php,Osx Mavericks,Oci8,我尝试安装OCI8+PHP,我可以在sqlplus中访问mi DB 我试试这个 pecl install oci8 结果就是这样 grep:/usr/include/php/main/php.h:没有这样的文件或目录 grep:/usr/include/php/Zend/Zend_modules.h:没有这样的文件或目录 grep:/usr/include/php/Zend/Zend_extensions.h:没有这样的文件或目录 配置用于: PHP Api版本: Zend模块Api编号: Z

我尝试安装OCI8+PHP,我可以在sqlplus中访问mi DB

我试试这个

pecl install oci8
结果就是这样

grep:/usr/include/php/main/php.h:没有这样的文件或目录
grep:/usr/include/php/Zend/Zend_modules.h:没有这样的文件或目录
grep:/usr/include/php/Zend/Zend_extensions.h:没有这样的文件或目录
配置用于:
PHP Api版本:
Zend模块Api编号:
Zend扩展Api编号:
请提供ORACLE_主目录的路径。如果使用Oracle instant client[autodetect]进行编译,请使用“instantclient,/path/to/instant/client/lib”:

在纸条提示中,我写下

instantclient,/usr/local/lib
但我有这个问题

/private/tmp/pear/install/oci8/oci8.c:35:10: fatal error: 'php.h' file not found
#include "php.h"
         ^
1 error generated.
make: *** [oci8.lo] Error 1
ERROR: `make' failed

这里也有同样的问题。你找到解决办法了吗??