This is very basic question that how to find the PHP version installed in my computer. It is well known that you can have more that one version of PHP in your computer.
just open your command prompt and write the following command.
root@servername [~]# php -v
You will see the output like :
PHP 5.2.13 (cli) (built: Mar 21 2010 16:37:21)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with eAccelerator v0.9.6, Copyright (c) 2004-2010 eAccelerator, by eAccelerator
with the ionCube PHP Loader v3.3.14, Copyright (c) 2002-2010, by ionCube Ltd., and
with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies