Atitit Linux Get project Run environment version

Source: Internet
Author: User

Atitit Linux Get project Run environment version

1 . 1. Nginx version 1

1 . 2. Php version 1

1 . 3. Mysql version 2

1 . 4. Redis version 2

1.1. Nginx version

[Email protected] ~]# nginx-v

Nginx version:nginx/1.6.3

1.2. Php version

3. Check the PHP version information, if it is installed through Yum, or RPM package, you can use Rpm-qa |grep php to view;

[Email protected] ~]# Rpm-qa |grep php

Php-pecl-zip-1.13.1-1.el6.remi.5.6.x86_64

Php-opcache-5.6.15-1.el6.remi.x86_64

Php-xml-5.6.15-1.el6.remi.x86_64

Php-gd-5.6.15-1.el6.remi.x86_64

Php-cli-5.6.15-1.el6.remi.x86_64

Php-pdo-5.6.15-1.el6.remi.x86_64

Php-pear-1.10.1-1.el6.remi.noarch

Php-bcmath-5.6.15-1.el6.remi.x86_64

Php-pecl-jsonc-1.3.9-1.el6.remi.5.6.x86_64

Php-devel-5.6.15-1.el6.remi.x86_64

Php-process-5.6.15-1.el6.remi.x86_64

Php-mysqlnd-5.6.15-1.el6.remi.x86_64

Php-fpm-5.6.15-1.el6.remi.x86_64

Php-pecl-jsonc-devel-1.3.9-1.el6.remi.5.6.x86_64

Php-mbstring-5.6.15-1.el6.remi.x86_64

Php-common-5.6.15-1.el6.remi.x86_64

Php-mcrypt-5.6.15-1.el6.remi.x86_64

Similarly, you can use Php-v to view PHP version information;

[Email protected] ~]# php-v

PHP 5.6.15 (CLI) (built:oct 29 2015 14:27:23)

Copyright (c) 1997-2015 the PHP Group

Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies

With Zend Opcache V7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologi

In general, mostly by installing lamp, use Phpinfo's test page to view the installed PHP information;

The specific method for the/var/www/under the new index.php file, the specific content is

<?

PHP phpinfo ();

?>

Author :: ★ (Attilax) >>>    nickname : old-Wow paw &NBSP; ( &NBSP; full name:: ATTILAX&NBSP;AKBAR&NBSP;AL&NBSP;RAPANUI&NBSP, Attilax &NBSP, " "  Al &NBSP; Rapa Nui &NBSP, &NBSP; Kanji name: Ayron, Email:[email protected]

reprint Please indicate source: http://www.cnblogs.com/attilax/

1.3. Mysql version

[[email protected] ~]# rpm-qa |grep MySQL

Php-mysqlnd-5.6.15-1.el6.remi.x86_64

MariaDB [(None)]> Select version ()

;

+----------------+

| Version () |

+----------------+

| 5.5.44-mariadb |

+----------------+

1 row in Set (0.00 sec)

1.4. Redis version

[Email protected] ~]# redis-server-v

Redis server v=2.8.19 sha=00000000:0 malloc=jemalloc-3.6.0 bits=64 Build=c0359e7aa3798aa2

Reference

Linux,Apache,php,mysql common ways to view version information - South A Hao's small nest -51CTO Technical Blog . html

Atitit Linux Get project Run environment version

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.