我正试图安装OCI8作为甲骨文的用途。我想通过php连接。我正在命令下运行,通过终端安装它。
数独pecl安装oci8
但要解决这个问题
downloading oci8-1.4.10.tgz ...
Starting to download oci8-1.4.10.tgz (169,248 bytes)
.....................................done: 169,248 bytes
10 source files, building
running: phpize
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
Configuring for:
PHP Api Version:
Zend Module Api No:
Zend Extension Api No:
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.发布于 2013-09-25 15:05:14
您需要使用php头来针对已安装的php编译扩展。
在我的Debian系统中,php5-dev包包括所需的文件:
apt-get install php5-dev将使安装扩展通过pecl成为可能。您的机器将有类似的包可供使用。
看来你也失踪了。同样,Debian包名为autoconf,您将为您的系统找到类似的包。
https://stackoverflow.com/questions/19004951
复制相似问题