How to view php version and other information

Environment linux, centos7.x

The fastest way to get PHP version information is to enter from the command line:
php -v

The results obtained are as follows:

1
2
3
4
5
6
7
[me@localhost ~] # php -v
PHP 5.6.36 (cli) (built: Apr 25 2018 10:02:39)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
     with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
     with Xdebug v2.5.5, Copyright (c) 2002-2017, by Derick Rethans
[me@localhost ~] #

Persist in original technology sharing, your support will encourage me to continue to create!