$ export PATH=/Applications/MAMP/bin/php5/bin:$PATH $ pear channel-discover pear.symfony-project.com $ peardev install symfony/symfony
Using peardev instead of pear is required because of memory_limit variable, set to 8M in default php.ini and -1 in peardev.