News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Cal Evans' Blog:
XAMPP, PHP 5.3, PEAR, and PHAR (what a mess)
July 13, 2009 @ 10:53:18

Cal Evans had an issue - it involved XAMPP, PHP 5.3, PEAR and phar:

If you are installing PHP 5.3 and when you run go-pear.bat you get this: phar "C:xamppphpPEARgo-pear.phar" does not have a signature.

The short method to getting it working correctly is to update your php.ini file with a few small changes to the require_hash setting. Cal goes through the long method he took to finally get to that point - decision on the platform (XAMPP), version of PHP to use and some googling around that lead him to this and this to help resolve his problem.

It turns out that, if that's on, for security purposes it can't be overridden. Since the default is on, I had to open up my php.ini, find it and set it to off. Once it's off, everything works just fine.
0 comments voice your opinion now!
requirehash phar pear xampp


blog comments powered by Disqus

Similar Posts

Greg Beaver\'s Blog: Why it is very important to upgrade to PEAR 1.4.6 from PEAR 1.3.x

Matthew Weir O'Phinney's Blog: File_Fortune refactored

Rob Morgan's Blog: Howto Publish a Pear Package on Pearhub

Tobias Schlitt\'s Blog: Renewal of the PEAR Core QA team

Community News: Latest PEAR Releases for 03.12.2007


Community Events

Don't see your event here?
Let us know!


series security library voicesoftheelephpant community podcast api laravel release version framework introduction interview unittest language laravel5 opinion symfony threedevsandamaybe extension

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework