PHP 5.3 Pear初始化问题
安装go-pear.bat时提示下边信息:
phar "D:\programs\php\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 D:\programs\php\PEAR\go-pear.phar on line 1236 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 D:\programs\php\PEAR\go-pear.phar on line 1236
这个问题的解决方法,把php.ini中的
phar.require_hash = On
改成
“phar.require_hash=Off”再运行即可。