Turning syntax highlighting for vi and vim in Mac OS X is as simple as creating a file called “.vimrc" in your home folder with the following content:
.vimrc
set nocompatiblesyntax on
First install php5-xdebug:
sudo port install php5-xdebug
Then just add these in your php.ini (probably /opt/local/etc/php5/php.ini), but first verify the file path for zend_extension option:
php.ini
/opt/local/etc/php5/php.ini
zend_extension
Run those commands:
sudo /opt/local/bin/pear channel-discover pear.doctrine-project.orgsudo /opt/local/bin/pear channel-discover pear.symfony.comsudo /opt/local/bin/pear install -a pear.doctrine-project.org/DoctrineORM-2.3.3sudo…
Those are some aliases I use to start, stop and restart Apache 2 and MySQL on my MacPorts installation done with the installation script I made some time ago. You have to edit “~/.bash_profile" file and add those lines:
~/.bash_profile