In: PHP
1 二 2011在执行
C:\>cd wamp\bin\php\php5.2.5
C:\wamp\bin\php\php5.2.5>go-pear.bat
会出现下面错误
phar “[path]go-pear.phar” does not have a signature
Warning: require_once(phar://go-pear.phar/index.php): failed to open stream: pha
r “[path]go-pear.phar” does not have a signature in [path]\PEAR\go-pear.phar on line 1236Fatal error: require_once(): Failed opening required ‘phar://go-pear.phar/index.
php’ (include_path=’.;[path][path]\PEAR’) in [path]\PEAR\go-pear.phar on line 1236
解决方法:
进入:cd PEAR目录
然后执行:php.exe -d phar.require_hash=0 go-pear.phar
这样就可以顺利执行
QK31欢迎你的到来.