Home  >  Article  >  Backend Development  >  How to query php version information under centos

How to query php version information under centos

青灯夜游
青灯夜游Original
2021-11-04 18:31:224939browse

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.

How to query php version information under centos

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

How to query php version information under centos

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn