Blog Index
The journal that this archive was targeting has been deleted. Please update your configuration.
Navigation
Main | Estimating: or how to explain your time before spending any at all »
Wednesday
Jan112012

Installing phing on OS X

Phing is a tool to automating repeatable tasks, it is easy to configure and easy to use. Installing phing should just be easy with these two commands from the console:

pear channel-discover pear.phing.info

pear install phing/phing

Unknown Hosts

I got some unknown hosts on my first install.

Unknown remote channel: pear.pdepend.org
Unknown remote channel: pear.phpmd.org
Unknown remote channel: pear.docblox-project.org

pear channel-discover pear.pdepend.org
pear channel-discover pear.phpmd.org
pear channel-discover pear.docblox-project.org

Warning

With all this up I tried the install again but go the following warning, and a long message to failed the install.

Upgrade the pear files

pear upgrade-all

Or do it with all dependencies:

pear upgrade --alldeps

Once pear has been updated the install works

pear install phing/phing

Test

Once that is done just check it is all good:

phing -v

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>