Web Hosting Forum - A Web Hosting community for Webmasters


Divi WordPress Theme

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

0 Members and 1 Guest are viewing this topic.

Offline Kailash

  • Administrator
  • Web Hosting Master
  • *****
  • Posts: 598
  • 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 »

Offline Rick

  • New Member
  • *
  • Posts: 25
  • 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

  • Premium Member
  • New 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

  • Premium Member
  • Junior Guru
  • *****
  • Posts: 50
  • 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

  • Guest
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: 15
  • iTrader: +0/-0
  • Web Hosting and Dedicated Servers
    • View Profile
    • Custom Dedicated Servers
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: 35
  • iTrader: +0/-0
    • View Profile
    • Windows VPS
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.
Get CheapWindowsVPS from Dewlance

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?
First off I would buy venapro now.

Divi WordPress Theme Monarch Social Sharing Plugin
Tags: php mysql ssh 
 

Related Topics

  Subject / Started by Replies Last post
0 Replies
929 Views
Last post March 09, 2011, 01:53:05 PM
by ludmela5
2 Replies
1643 Views
Last post July 10, 2016, 02:24:34 PM
by gexacor
2 Replies
1572 Views
Last post June 15, 2013, 11:26:37 AM
by Web_news
2 Replies
807 Views
Last post January 28, 2016, 12:59:10 PM
by hmb-willem
0 Replies
53 Views
Last post August 14, 2017, 05:20:03 PM
by WHUK