首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法安装oci8

无法安装oci8
EN

Stack Overflow用户
提问于 2013-09-25 12:30:05
回答 1查看 740关注 0票数 0

我正试图安装OCI8作为甲骨文的用途。我想通过php连接。我正在命令下运行,通过终端安装它。

数独pecl安装oci8

但要解决这个问题

代码语言:javascript
复制
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.
EN

回答 1

Stack Overflow用户

发布于 2013-09-25 15:05:14

您需要使用php头来针对已安装的php编译扩展。

在我的Debian系统中,php5-dev包包括所需的文件:

代码语言:javascript
复制
apt-get install php5-dev

将使安装扩展通过pecl成为可能。您的机器将有类似的包可供使用。

看来你也失踪了。同样,Debian包名为autoconf,您将为您的系统找到类似的包。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/19004951

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档