Postcards From My Life

Lint I find in my mind's belly-button.
  • EPK
  • Resume of Cal Evans
  • Nerd Herding
  • Talks
  • Cal Builds

Posts Tagged ‘phar’

Update from webcast on Zend_Cache_Frontend_Class

Monday, September 7th, 2009

Dear Reader,

In reading over the chat room log for my recent webcast, Zend Framework: Piece by Piece I noticed a question from my buddy Elazar about Zend_Cache_Frontend_Class. Thinking I had made a mistake, I reviewed the materials and the Zend_Cache_Frontend_Class documentation page so that I could do a quick update. The answer wasn’t nearly as simple as I thought.
(more…)

Tags: cache zend_framework-frontend_class, phar, zend framework
Posted in zend framework | 2 Comments »

 

Packaging Zend Framework As A Phar Revisited

Sunday, July 26th, 2009

Dear Reader,

Ok, after I posted my original post on packaging the Zend Framework with Phar and my package.php, I had some additional thoughts. Also, reader John Douglass sent in some code to include. John, I’ve included most of your concepts but I changed up a lot of your code. Nothing personal but since we are using PHP 5.3, we might as well use the GetOpt() function.

(more…)

Tags: phar, PHP, php 5.3, zend framework
Posted in Programming | 3 Comments »

 

Lessons in Phar

Sunday, July 19th, 2009

Dear Reader,

In preparation of an episode of boxlunchtraining.com I have been doing a lot of research into creating and using PHP’s new phar archives. While I’ve not answered all my questions yet, I’ve been able to do most of what I wanted. One of the tasks I wanted to complete was to create a phar archive for Zend Framework. Here is a very quick intro into how I did it. Most of this is just a reminder for me but if you find it useful then I’m glad.

(more…)

Tags: phar, PHP, zend framework
Posted in Programming | 17 Comments »

 

XAMPP, PHP 5.3, PEAR, and PHAR (what a mess)

Saturday, July 11th, 2009

Dear Reader,

The Short Version

If you are installing PHP 5.3 and when you run go-pear.bat you get this:

phar "C:\xampp\php\PEAR\go-pear.phar" does not have a signature

phar "C:\xampp\php\PEAR\go-pear.phar" does not have a signature

Edit your php.ini file and find the lines:

; http://php.net/phar.require-hash
; phar.require_hash = On

; http://php.net/phar.require-hash ; phar.require_hash = On

Change them to :

; http://php.net/phar.require-hash
phar.require_hash = Off

; http://php.net/phar.require-hash phar.require_hash = Off

Save and then run

go-pear

go-pear

(more…)

Tags: pear, phar, PHP, require_hash, xampp
Posted in PHP, Programming | 12 Comments »

 
  • My Books

    Creating a Brown Bag Lunch Program
    Iterating PHP Iterators
    Culture of Respect book cover
    Signaling PHP
    Going Pro book cover

  • My Projects

     

    Day Camp 4 Developers

  • Follow me on twitter!


Postcards From My Life is proudly powered by WordPress
Entries (RSS) and Comments (RSS).