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
Platform | Command |
AlmaLinux/CentOS/Fedora | cat /etc/redhat-release |
Apache | /usr/sbin/httpd -v OR httpd -v |
Apache (cPanel) | /usr/local/apache/bin/httpd -v |
Curl | rpm -q curl |
Bash | bash –version |
Exim (cPanel) | exim -bV |
Glibc | ldd –version OR ls /lib/libc-* |
Kernel | uname -r |
PHP (cPanel) | php -v |
PHP (Plesk) | find /opt/plesk/php/*/bin/php |
MySQL | mysql –version or mysql -v |
Ubuntu
Platform | Command |
Apache | /usr/sbin/apache2 -v OR apache2 -v |
Curl | curl –version |
Bash | bash –version |
Glibc | ldd –version |
Kernel | uname -r |
PHP | php –version |
MySQL | mysql –version |
Ubuntu | lsb_release -a |
Miscellaneous
Platform | Command |
OpenSSL | openssl version |
Pear | pear info pear | grep Version |
Plesk | cat /usr/local/psa/version |
Qmail | man qmail | grep version |
sshd | /usr/sbin/sshd -v |