PHP pear

 PHP5.4安装PEAR, 运行go-pear有的会出现下面错误: 

引用
phar does not have a signaturePHP Warning:  require_once(phar://go-pear.phar/index.php): failed to open stream: phar error: invalid url or non-existent phar “phar://go-pear.phar/index.php” in … 
不使用go-pear.bat,转而使用 
解决方法一: 
运行:
Php command代码  
php -d phar.require_hash=0 PEAR/go-pear.phar  
 
解决方法二: 
从http://pear.php.net/go-pear下载个没有打包的PEAR安装包存储到本地命名为go-pear.php 
运行: 
Php command代码  
php go-pear.php  
以上转载自: http://koda.iteye.com/blog/662060

你可能感兴趣的:(PHP,安装,command,Invalid,hellip)