root@cam-desktop:/home/cam# pear install symfony/symfony-beta
downloading symfony-1.0.2.tgz ...
Starting to download symfony-1.0.2.tgz (1,903,264 bytes)
......................................................................................................................................................................................................................................................................................................................................................................................done: 1,903,264 bytes
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 8192 bytes) in /usr/share/php/PEAR/Installer.php on line 518
The solution was to increase the memory to allocate for php to 32Mb:
root@cam-desktop:/home/cam# PHP_PEAR_PHP_BIN='/usr/bin/php5 -d memory_limit=32M export PHP_PEAR_PHP_BIN
root@cam# export PHP_PEAR_PHP_BIN
root@cam# pear install symfony/symfony-betadownloading symfony-1.0.2.tgz ...
Starting to download symfony-1.0.2.tgz (1,903,264 bytes)
......................................................................................................................................................................................................................................................................................................................................................................................done: 1,903,264 bytes
install ok: channel://pear.symfony-project.com/symfony-1.0.2