ubuntu – php pear:默认配置文件不是有效的配置文件或已损坏

我真的很喜欢这里.在运行“pear install HTTP”时,我的服务器重新启动,当一切恢复时,我继续工作,并且…
$sudo pear install HTTP
ERROR: The default config file is not a valid config file or is corrupted.

$sudo pear list
ERROR: The default config file is not a valid config file or is corrupted.

$sudo pear 
ERROR: The default config file is not a valid config file or is corrupted.

我尝试aptitude清除php-pear,甚至删除/usr/share / php /上的所有内容并再次安装php-pear,但错误仍然存​​在.

哎呀……发生了什么?

在Mac上使用MAMP出现此错误.对我来说删除… / MAMP / bin / php / php5.3.6 / conf / pear.conf有帮助.

相关文章

ubuntu退出redis的示例:指定配置文件方式启动源码redis:roo...
ubuntu中mysql改密码忘了的解决方法:1.在终端中切换到root权...
ubuntu安装mysql失败的解决方法原因:可能是原有的MySQL还有...
使用centos和ubuntu建站的区别有以下几点1.CentOS是Linux发行...
ubuntu图形界面和字符界面切换的方法:可以通过快捷键CTRL+A...
ubuntu中重启mysql失败的解决方法1.首先,在ubuntu命令行中,...