Home  >  Article  >  Backend Development  >  PHP 5.3 Pear初始化有关问题

PHP 5.3 Pear初始化有关问题

WBOY
WBOYOriginal
2016-06-13 10:56:22891browse

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

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn