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