I followed these instructions, to set the correct path for php
It is highly suggested that you modify your ~/.bash_profile to ensure that your environment is properly configured to access your local PEAR installation before defaulting to the shared installation. PEAR also tests for the existence of the PHP_PEAR_PHP_BIN environment variable.
If your local installation of PEAR is v1.4.0 or above, you should also update your PATH variable to point to the proper PHP5 location.
Here is an example bash_profile that provides support for PEAR v1.4+ and PHP5 on a shared DreamHost account. It is important that you use export to have the paths stick when using PEAR from the command line.
You open .bash_profile, and put those 2 lines in. And then relog your session, for them to take effect and it worked.
But now I have another errror, when tyring to install, with PHP Size
pecl install uploadprogress-beta
downloading uploadprogress-0.3.0.tgz ...
Starting to download uploadprogress-0.3.0.tgz (4,677 bytes)
.....done: 4,677 bytes
3 source files, building
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
/usr/local/php5/bin/phpize: /tmp/pear/cache/uploadprogress-0.3.0/build/shtool: /bin/sh: bad interpreter: Permission denied
Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF
environment variable is set correctly and then rerun this script.
ERROR: `phpize' failed
Seditio Forge - CMS User ran site
FFXI Mod Communtiy