Home > Article > Backend Development > How to query php version information under centos
How to query php version information under centos: 1. Open the terminal in centos; 2. In the terminal command line, enter the command "php -v", press Enter to execute the command, and the results will be displayed View the php version information.
The operating environment of this tutorial: CentOS 5 system, PHP version 4.4.9, DELL G3 computer
Query the php version under centos Information method:
1. Open the terminal in centos
2. Enter the command "php -v
" and press Enter to execute
[root@eportfolio ~]# php -v PHP 4.4.9 (cli) (built: Oct 19 2012 15:03:08) Copyright (c) 1997-2008 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with Zend Optimizer v3.2.4, Copyright (c) 1998-2007, by Zend Technologies
Recommended study: "PHP Video Tutorial"
The above is the detailed content of How to query php version information under centos. For more information, please follow other related articles on the PHP Chinese website!