2

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

我正在执行的命令:-

root@linux# pecl install bcompiler 开始下载... bcompiler-1.0.2.tgz (57,247 bytes) ...正在下载并下载...

错误:无法解压 /tmp/tmpASDWss/bcompiler-.1.0.2.tgz

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

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

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

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

我可以得到任何帮助吗谢谢

4

1 回答 1

0

尝试这个。

只需从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 :)

于 2013-06-24T14:18:03.783 回答