Enabling the use of PHP5 by default in the shell

This enables you to use PHP5 by default instead of PHP4 when running PHP scripts

export PATH=/usr/local/php5/bin:$PATH ". .bashrc" If that does NOT exist, add this to the end of the file. if [ -r .bashrc ] ; then . .bashrc fi
 * Edit your ".bashrc" using your favorite editor. Add the following line:
 * Edit your ".bash_profile" file. Look for something like (note the space between the two periods):
 * In the shell type "which php" and you should see "/usr/local/php5/bin/php"