当前位置:Gxlcms > PHP教程 > PHP5.3Pear初始化有关问题

PHP5.3Pear初始化有关问题

时间:2021-07-01 10:21:17 帮助过:8人阅读

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

人气教程排行