Pear: "go-pear.phar" Does Not Have a Signature
Thankfully, after searching around – I found the solution from a blogger named Latyr, who blogs in French. Since I speak French, I thought I should offer his solution in English. I expanded it into a few steps, for those that aren’t familiar with WAMP and PHP.
1) Locate the “php.ini” file. In my case, I found it at this path:
Don’t use the WAMP system tray icon to edit this file. It didn’t work when I tried – you have to manually locate it.
2) Find the following line, in bold:
;phar.require_hash = On
3) Uncomment the “;phar.require_hash = On” line by removing the semi-colon.
4) Change “On” to “Off”.
phar.require_hash = Off
5) Save the file.
After I performed those steps, “go-pear.bat” began working normally again.
In case you’re wondering about the phar.require_hash option we just disabled, here’s the php.net description:
This option will force all opened Phar archives to contain some kind of signature (currently MD5, SHA1, SHA256 and SHA512 are supported), and will refuse to process any Phar archive that does not contain a signature.
The solution offered here was made possible by Latyr’s original blog post, entitled “Bug dans PHP5.3.0 Pear.bat”.
One of the Last Known Survivors June 26, 2013
In Retrospect, Perhaps Not So Convenient March 11, 2013
TV Review: The Walking Dead – S01E01 – Days Gone Bye March 11, 2013
TV Review: Continuum – S01E01 – A Shift in Time March 11, 2013
So Apparently I’m a Complete Slacker January 19, 2013
Is YouTube Allowing Accidental Ad Clicks By Design? January 13, 2013
Priorities November 15, 2012
Movie Review: The Hunger Games November 11, 2012