首页 >后端开发 >php教程 >PHP 5.3 Pear初始化有关问题

PHP 5.3 Pear初始化有关问题

WBOY
WBOY原创
2016-06-13 10:56:22921浏览

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 1236Warning: 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”再运行即可。

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn