Transfer email and migrate accounts with YippieMove.
Home > Mac OS X > Installing symfony on OS X 10.4.

Installing symfony on OS X 10.4.

December 13th, 2006

Just a couple of quick notes.

  • Use ‘entropy-php’ to install the php module to run with Apache on your mac.
  • Rename /usr/bin/php to /usr/bin/php4 (This is important.)
  • Rename /usr/bin/pear to /usr/bin/pear13 (Even more important.)
  • Create a symbolic link so that the php5 pear can be used: ln /usr/local/php5/bin/pear /usr/bin/pear (Most important.)

If you don’t follow the last two steps you will get all kinds of funny errors with pear. Pear upgrade will refuse to upgrade you to pear 1.4 because it claims it’s missing pear 1.3 (which is funny because if pear isn’t installed, how can pear say anything? And why do you need an old version of pear to get a new version of pear?).

The most likely message you’ll see if you don’t do the last two steps is:

“Command ‘pear.symfony-project.com’ is not valid, try ‘pear help’”

when you try to add the Symfony channel.

From there on you can just proceed with the normal symfony installation stuff.

pear channel-discover pear.symfony-project.com
pear install symfony/symfony

All done.

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • email
  • Slashdot
  • StumbleUpon

siker Mac OS X

  1. No comments yet.
  1. No trackbacks yet.