How to check PHP version in CentOS/Linux?
To check the version of PHP running in your system, please issue php version command:
1 | [<a href="mailto:root@cp tempphp">root@cp tempphp</a>]# php -version |
1 |
1 | PHP 5.1.6 (cli) (built: Jun 27 2012 12:21:16) <br />Copyright (c) 1997-2006 The PHP Group<br />Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies<br />You have new mail in /var/spool/mail/root |
1 |
1 | [<a href="mailto:root@cp tempphp">root@cp tempphp</a>]# <span id="more-179"></span> |
If you have any question please comment.