How do I check service versions on VPS?

This article will show you how to find out which software version you have within your Virtual Private Server.

In order to find out which version you have, you will need to enter a specific command within your server. Simply click the relevant title from the list below and follow the provided instructions to find out more:

Please note: the following article was originally created for our current generation of Virtual Private Servers. As such, these instructions may not be relevant to our previous generation of Virtual Private Servers.

AlmaLinux/CentOS/Fedora

PlatformCommand
AlmaLinux/CentOS/Fedoracat /etc/redhat-release
Apache/usr/sbin/httpd -v
OR
httpd -v
Apache (cPanel)/usr/local/apache/bin/httpd -v
Curlrpm -q curl
Bashbash –version
Exim (cPanel)exim -bV
Glibcldd –version
OR
ls /lib/libc-*
Kerneluname -r
PHP (cPanel)php -v
PHP (Plesk)find /opt/plesk/php/*/bin/php
MySQLmysql –version or mysql -v

Ubuntu

PlatformCommand
Apache/usr/sbin/apache2 -v
OR
apache2 -v
Curlcurl –version
Bashbash –version
Glibcldd –version
Kerneluname -r
PHPphp –version
MySQLmysql –version
Ubuntulsb_release -a

Miscellaneous

PlatformCommand
OpenSSLopenssl version
Pearpear info pear | grep Version
Pleskcat /usr/local/psa/version
Qmailman qmail | grep version
sshd/usr/sbin/sshd -v