I'm trying to run php and mysql commands from the command terminal.
I'd like to run commands such as: php mypage.php
But I can't because I get this error: -sh: php: not found
What I have to do is run: /opt/php5/bin/php mypage.php
I can't even find the path to run mysql from the command line, but I know mysql works because it works on the site.
How can I configure my Ubuntu 10.04 setup to allow me to use short commands such as php instead of /opt/php5/bin/php and mysql instead of (how do I find the path?).