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

How to query php version information under centos

青灯夜游
Release: 2023-03-13 18:02:01
Original
4966 people have browsed it

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
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template