When managing several servers with different operating systems and versions, you might not be able to identify the LAMP version being used, it could happen with the client too. Here is a small method to check the LAMP version.

  1. Linux Version:-[root@localhost ~]# cat /etc/redhat-releaseRed Hat Enterprise Linux Server release 6.1 (Santiago)

    [root@localhost ~]# uname -a
    Linux node1.oriensoft.com 2.6.32-042stab032.1 #1 SMP Sat Aug 13 18:16:00 MSD 2011 x86_64 x86_64 x86_64 GNU/Linux

    As per the above output, Operating System is RHEL 6.1 (64-Bit).

  2. Apache Version:-
    [root@loalhost ~]# httpd -v

    Server version: Apache/2.2.15 (Unix)
    Server built: Aug 14 2010 08:53:20

    As per the above out put Apache version is 2.2.15.

  3. Mysql Version:-

    [root@localhost ~]# mysql -V
    mysql Ver 14.14 Distrib 5.1.47, for redhat-linux-gnu (x86_64) using readline 5.1

    As per the above output, Mysql Version is 5.1.47 (64-Bit).

  4. PHP Version:-
    [root@localhost ~]# php -v
    PHP 5.3.2 (cli) (built: Aug 17 2010 04:35:29)
    Copyright (c) 1997-2010 The PHP Group
    Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

As per the above out put PHP Version is 5.3.2.

Popular Posts You May Read

Explore more hosting insights, tips and industry updates.

How to grow business from home

How to Enhance Your Business during Lockdown

COVID-19 has transformed the countries across the world from don-not-panic state to a state of…

Selecting the Best WordPress Hosting Provider to Build a Website

At present, any person with minimum computer knowledge can build his / her own web…

Choose-the-Right-Strategy-to-Boost-Your-Revenue-BLOG

Affiliate Marketing or Reseller Hosting:  Choose the Right Strategy to Boost Your Revenue

When you run a web design or development business or run an agency, you can…