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'
  • PropertyChat
  • InvestEd
  • Somersoft
  • Compare Funds
  • ZooChat
You are here: Home / 2011 / Archives for July 2011

Archives for July 2011

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.

 

Simon Hampel

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

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

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…

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 © 2026 Simon Hampel · Log in