Divi WordPress Theme

check PHP and MySQL version through shell (SSH) on Linux Server

Topic: check PHP and MySQL version through shell (SSH) on Linux Server  (Read 75207 times)

Online Kailash

  • Web Hosting Master
  • *****
  • Administrator
  • Posts: 661
  • iTrader: +153/-0
    • View Profile
Below are the commands to check the version of PHP and MySQL on your Linux server through shell (via SSH):

php -v
mysql -V

Kailash
« Last Edit: August 27, 2009, 12:22:37 PM by Kailash »
VPS Hosting - AccuWebHosting

Offline Rick

  • New Member
  • *
  • Posts: 31
  • iTrader: +0/-0
    • View Profile
Re: check PHP and MySQL version through shell (SSH) on Linux Server
« Reply #1 on: April 02, 2014, 12:19:58 PM »
Thank you for sharing the command to check PHP and MySQL version via SSH.

Rick

Offline Web_news

  • New Member
  • *****
  • Premium Member
  • Posts: 43
  • iTrader: +5/-0
    • View Profile
Re: check PHP and MySQL version through shell (SSH) on Linux Server
« Reply #2 on: August 06, 2014, 07:12:40 PM »
This is a really useful command to check the PHP and MySQL version for the server quickly via SSH.

Offline WebhostingTalk

  • Junior Guru
  • *****
  • Premium Member
  • Posts: 54
  • iTrader: +2/-0
    • View Profile
Re: check PHP and MySQL version through shell (SSH) on Linux Server
« Reply #3 on: August 26, 2014, 12:09:56 PM »
This is really useful. When you have several servers, this is the easy way to check PHP and MySQL versions via SSH.

hmb-willem

Re: check PHP and MySQL version through shell (SSH) on Linux Server
« Reply #4 on: January 28, 2016, 01:07:12 PM »
Hi,

Thank you for sharing.

Offline RADWEBHOSTING.COM

  • New Member
  • *
  • Posts: 34
  • iTrader: +0/-0
  • Web Hosting and Dedicated Servers
    • View Profile
Re: check PHP and MySQL version through shell (SSH) on Linux Server
« Reply #5 on: June 11, 2016, 01:16:15 AM »
Very useful advice! Nice Post.

Offline gexacor

  • Newbie
  • *
  • Posts: 6
  • iTrader: +0/-0
    • View Profile
Re: check PHP and MySQL version through shell (SSH) on Linux Server
« Reply #6 on: July 10, 2016, 02:37:18 PM »
Below are the commands to check the version of PHP and MySQL on your Linux server through shell (via SSH):

php -v
mysql -V

Kailash

You can use the '-v' key to check the actual version for almost any Linux utility by the way :)

Offline Dewlance

  • New Member
  • *
  • Posts: 45
  • iTrader: +0/-0
    • View Profile
Re: check PHP and MySQL version through shell (SSH) on Linux Server
« Reply #7 on: September 24, 2016, 05:02:26 PM »
I use php code when I don't wish to use SSH ;)

But thanks.

Offline Mooni

  • Newbie
  • *
  • Posts: 1
  • iTrader: +0/-0
    • View Profile
Re: check PHP and MySQL version through shell (SSH) on Linux Server
« Reply #8 on: December 01, 2016, 01:07:34 PM »
How do you decide when to use PHP and when to use SSH?

Offline kumkum12

  • Newbie
  • *
  • Posts: 1
  • iTrader: +0/-0
    • View Profile
Re: check PHP and MySQL version through shell (SSH) on Linux Server
« Reply #9 on: March 31, 2018, 03:23:29 PM »
Thank you for sharing these commands. I am new in this field and hope that i will get many other useful information in this forum.

Offline rubyatiy

  • Newbie
  • *
  • Posts: 1
  • iTrader: +0/-0
    • View Profile
Re: check PHP and MySQL version through shell (SSH) on Linux Server
« Reply #10 on: January 11, 2019, 07:18:59 PM »
How do you decide when to use PHP and when to use SSH?

These are the terms you can judge with those effects and can't products those SSH

Offline kumkum

  • New Member
  • *
  • Posts: 17
  • iTrader: +0/-0
  • https://hosting.india.to/
    • View Profile
Re: check PHP and MySQL version through shell (SSH) on Linux Server
« Reply #11 on: October 21, 2021, 08:20:32 PM »
You have to run command to know version. You have to run below command in SSH:
SHOW VARIABLES LIKE “%version%”;

You can also get more details to check MySQL version.
Shopify Divi WordPress Theme
Tags: php mysql ssh 

Sharktech - Dedicated Servers - Bitcoin Accepted - Check out our reviews!

Started by zomgmikeBoard Web Hosting Offers

Replies: 0
Views: 823
Last post February 15, 2018, 12:08:55 AM
by zomgmike
How do you usually check you network connection speed

Started by jcageBoard How Tos

Replies: 1
Views: 11724
Last post June 02, 2021, 08:58:55 AM
by rockyfaison
HOW TO CHECK KEYWORD RANKING POSITION ?

Started by [email protected]Board Other Search Engines

Replies: 14
Views: 10796
Last post April 06, 2020, 05:40:21 PM
by maheshseo
Check HDD for bad sector

Started by ChrisBoard Hosting Security and Technology

Replies: 2
Views: 2994
Last post March 16, 2018, 03:06:37 AM
by neckozenica
Super Cheap VPS deals $9/month + Specials (check out Lots of Locations)!

Started by RivaltechBoard Web Hosting Offers

Replies: 0
Views: 1259
Last post February 11, 2016, 01:03:53 PM
by Rivaltech