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

PHP 5.3 Pear初始化有关问题

WBOY
Release: 2016-06-13 13:08:50
Original
967 people have browsed it

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
Copy after login


这个问题的解决方法,把php.ini中的
phar.require_hash = On
改成
“phar.require_hash=Off”再运行即可。

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template