I mistakenly upgraded my macports today and came back to a broken development environment. PHP 5.3.0 is not yet compatible with Drupal 6, though there are already some issues in the queue: http://drupal.org/node/360605 and http://drupal.org/node/452384 for Views 2.
If you get yourself in the same trouble, here's what you need to do:
- Set up a local portfile repository according to the directions here. This requires creating new directories and editing the sources.conf file for MacPorts as the superuser. Put your local repository above the default rsync one.
- Use SVN to checkout the php5 port into your new local repository.
svn checkout http://svn.macports.org/repository/macports/trunk/dports/lang/php5
- Switch to the revision that preceded the update to 5.3.0
svn sw http://svn.macports.org/repository/macports/trunk/dports/lang/php5@53555
- Recompile php5
sudo port -fu upgrade php5
Perhaps the two SVN steps can be combined into one, but ... so what.