Our system currently has multiple versions of php installed. the apache server is configured to use the latested version(5.3). but when i log in, i still get the older version php. how can i configure my own environment to use the right version php?
Thanks,
You can:
alias php53="/path/to/php5.3/bin/php"
This is likely more for superuser.com, but you can modify .bash_rc
and alias PHP
to <whatever your path is for PHP>