Translate

Wednesday, May 12, 2010

How to Find PHP Version From Command Line

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

2 comments:

About Me

My photo
Greetings Friend! I am Linux scholar, trying to learn as much I can and share it with you. I am in mid of my Professional Career. Doing Good. :)

Followers