无法在 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/