php cli problem

Steps to make working CLI for php
OS: RHEL 5
PHP VERSION: php 5 (Lampp)

First set the path to php bin drectory, here in lampp php bin directory is /opt/lampp/bin
commands are as follows:
#export PATH=$PATH:/opt/lampp/bin
now check the php version by giving the command
#php -v

is shows the result as below:

PHP 5.2.9 (cli) (built: Mar 31 2009 23:21:47)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies