Divi WordPress Theme

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

Offline Kailash

  • Web Hosting Master
  • *****
  • Administrator
  • Posts: 619
  • 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: 27
  • 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: 44
  • 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: 26
  • 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: 36
  • 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
Shopify Divi WordPress Theme
Tags: php mysql ssh