php - 无法在 centos 5.8 中安装 bcompiler,出现无法解压/tmp/bcompiler 的错误

标签 php linux centos pecl centos5

无法在 centos 5.8 中安装 bcompiler,出现无法解压/tmp/bcompiler 的错误

我正在执行的命令:-

root@linux# pecl install bcompiler starting to download... bcompiler-1.0.2.tgz (57,247 bytes) ...Downloading and than downloaded ...

Error: unable to unpack /tmp/tmpASDWss/bcompiler-.1.0.2.tgz

我谷歌了几次但找不到解决方案,似乎没有人遇到这个错误..

我已经在我的 ubuntuLinux 中从 bcompiler 编码了我的 phpscript,并将它上传到我的服务器..centos..

请注意,我是第一次使用 bcompiler,所以我可能不需要 bcompiler,但正如您所预料的那样,页面会失败 :(

所以我想我也需要在我的服务器上安装 bcompiler...所以我开始安装但失败了。请解释我是不是做错了什么。

我能得到什么帮助吗 谢谢

最佳答案

试试这个。

只需从 http://pecl.php.net/package/bcompiler 下载文件

操作 :- 只要确保你阅读了输出,在某一时刻它会告诉你 bcompiler.so 在哪里 文件已保存。

root@linux# wget http://pecl.php.net/get/bcompiler-1.0.2.tgz
root@linux# tar -xvf bcompiler-1.0.2.tgz
root@linux# phpize
root@linux# ./configure
root@linux# make
root@linux# make install
root@linux# make test

如果没有出现任何问题,那么 bcompiler.so 文件一定已经放在“ext”目录中了..

如果一切正常,现在开始使用你的 bcompiler :)

关于php - 无法在 centos 5.8 中安装 bcompiler,出现无法解压/tmp/bcompiler 的错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17272823/

相关文章:

php - 查询将旧哈希密码转换为 AES

c++ - 默认语言环境 "root"在 ICU 中如何工作?

linux - 手动移除 USB 后挂载目录仍显示数据

php - 查询数据库中某个区域的位置

php - 文件上传空字符串

PHP在整数和字母之间 explode

linux - 通过 Azure 自动化在 Azure Linux VM 上运行 SSH 命令

linux - 捕获编译错误并终止 bash 脚本

centos - 我无法通过 "net ads join"(winbind) 连接到 AD

linux - 如何在不删除的情况下进行gunzip?