The Rhyme of Sim'

Simon Hampel

  • facebook
  • twitter
  • linkedin
  • vimeo
  • github
  • stackoverflow
  • steam
  • Home
  • About
  • Trip Journals
    • Colombia 2012
    • Little Desert NP Road Trip 2010
    • Adelaide Road Trip 2009
    • Colombia 2009
    • Melbourne 2008
    • South America 2008
    • United States 2005
    • Perth 2004
    • Adelaide Road Trip 2003
    • Hong Kong 2003
  • Archives
  • Contact
  • The Rhyme of Sim'
You are here: Home / Technology / How to configure PEAR for Zend Server Community Edition on Windows 7

How to configure PEAR for Zend Server Community Edition on Windows 7

Wednesday 20th July, 2011 2 Comments

I decided to try running Zend Server CE (PHP v5.3) for my local development environment on my Windows 7 (64-bit) machine.

After discovering that I needed to explicitly choose to install MySQL and phpMyAdmin (simply fixed by running the installer again and modifying the installation), I found that the PEAR libraries some of my existing code relied on, was missing.

After a bit of research, I learned that I needed to run the PEAR installer:

C:\Program Files (x86)\Zend\ZendServer\bin\go-pear.bat

… however, this resulted in some very confusing error messages:

phar "C:\Program Files (x86)\Zend\ZendServer\bin\PEAR\go-pear.phar" does not have a signature
PHP 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 
C:\Program Files (x86)\Zend\ZendServer\bin\PEAR\go-pear.phar on line 1236

After a bit more Googling, I finally came across a suggestion on the PEAR blog: PHP 5.3 Windows and PEAR (go-pear.phar) | PEAR Blog

I ran the following command from the PEAR directory, which worked:

C:\Program Files (x86)\Zend\ZendServer\bin\PEAR>php -d phar.require_hash=0 go-pear.phar

… all that was then required was to follow the instructions (I needed to enter the path to the CLI php.exe, which is C:\Program Files (x86)\Zend\ZendServer\bin), and it worked.

 

« Prev: Profile privacy on meetup.com
Next: How to delete a Windows volume mount point for an invalid drive »

Filed Under: Technology

Comments

  1. William Notowidagdo says

    Wednesday 11th July, 2012 at 01:38 AM

    Thanks for the tip. I had a same problem too with my Zend server setup.

    Reply
  2. hm says

    Friday 22nd June, 2012 at 01:35 PM

    Thank you, that was very helpful had the same issue go-pear.phar does not have signature.
    On Windows Vista, the ZendFramework folder was readonly, had to change that.
    The path to CLI php.exe has to be fully specified “C:\Program Files\Zend\Zend, can’t use $prefix/bin

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Simon Hampel

Welcome to my personal blog about life, family, work, travel, technology and such.

Recent Comments

  • Rachel on The Sims 2 resolution problems – solved !Yes to this! Thanks for the advice! 2021 and I was…
  • Shaun Hargans on EchosA standard glass beer Stubby (375 ml) has a neck d…
  • Bryanna on The Sims 2 resolution problems – solved !How does one run a notepad in administrator mode?
  • Dirk Collins on Day 19 – NavimagAdditional photos of the Casma https://web.archive…
  • Dirk Collins on Day 19 – NavimagNot the Cotopaxi. The Cotopaxi was found sunk outs…

Categories

Adelaide Roadtrip 2003 Adelaide Roadtrip 2009 Adoption Colombia 2009 Colombia 2012 Community Entertainment General Hong Kong 2003 Investing Melbourne 2008 Online Photography Software South America 2008 Sydney Technology Travel University Words Work Zoos
Tweets by @SimonHampel

Strava

My Other Sites

  • PropertyChat
  • InvestEd
  • Somersoft
  • Compare Funds
  • ZooChat

Useful Information

  • AUS vs US Mens Shirt Sizes
  • Star Wars Masters & Apprentices
  • Roland GAIA SH-01 Resources
  • Roland U-20 Resources

Copyright © 2025 Simon Hampel · Log in