Learning Academy

The Cure of Ignorance is to Question. MUHAMMAD (PBUH)

CentOS

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.

Muhammad Shaukat

Content Developer at LearnAcad.com

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Pin It on Pinterest