How can I find out the versions of the software installed on my ISPConfig VPS?

Procédure

The versions of the software on your ISPConfig VPS (Debian, PHP, web server, database, email) depend on when the server was installed and the updates applied since then: there is no single list that applies to all VPSs. This guide shows you how to check the versions installed on yours yourself: the PHP version for each site from ISPConfig, and the Debian and server software versions in SSH, if you have root access.

What changes depending on your management mode

The versions of the proposed systems are displayed when the command is run. After that, everything depends on how your VPS is managed:

  • Managed VPS: LWS updates the system and the server software, including security patches. You do not have root access: you read the PHP version of your sites in ISPConfig, and support will tell you the Debian version if you need it;
  • VPS with root access: you administer the server and perform its updates yourself. An ISPConfig already installed is no longer updated by LWS. You can read all versions via SSH.

To find out which case applies to you, see Managed VPS, root access or VPS KVM: who manages what?.

See the PHP version of a site in ISPConfig

Each site on your VPS has its own PHP version, which you choose in ISPConfig. This method works on both a managed VPS and a VPS with root access.

  1. Open ISPConfig

    In your LWS client area, open the list of your servers, click Manage next to your VPS, then click Administration Panel. Log in with your ISPConfig credentials. Details are in How do I access ISPConfig on my dedicated VPS server?.

  2. Open the site record

    In the top menu, click Sites, then click the site you are interested in from the list.

  3. Read the PHP Version field

    In the Domain tab of the site record, the PHP Version field shows the version used by that site. The drop-down list for this field shows the other versions you can choose for that site.

To change versions, follow How to change the PHP version of a domain installed on ISPConfig. Before moving to a newer version, have the site tested on a copy by the person who developed it: moving to PHP 8 requires adapting the site.

Check the actual PHP version used by a site

To confirm the version your site really uses, you can upload a small test file, display it, then delete it.

  1. Create the test file

    On your computer, create a text file named version-php.php containing only this line:

    📄 version-php.php
  2. Upload it to the site's web folder

    Connect to the site via FTP or SFTP, then place the file in the web folder, which contains the site's public files. Creating an account is explained in How do I manage my FTP and SFTP access under ISPConfig?.

  3. Open the file in your browser

    Open your site's address followed by the file name, for example https://example.com/version-php.php. The page displays only the version number of the PHP used by that site.

  4. Delete the file

    Once you have noted the version, delete version-php.php from the web folder: it should not stay online.

See the Debian version and server software versions via SSH

These commands require an SSH connection as root, meaning a VPS with root access. The connection is explained in How do I connect as root to a dedicated VPS server with Putty?. These commands only read information: they do not modify anything on the server.

  1. Display the Debian version

    ⌨ On the server
    cat /etc/debian_version

    The server returns a number. The number before the dot is the main Debian version installed on your VPS.

  2. Display the default PHP version

    ⌨ On the server
    php -v

    The first line gives the version of PHP used on the command line. Your sites may use a different version: the version for each site is the one shown in ISPConfig's PHP Version field.

  3. List the installed PHP versions

    ⌨ On the server
    dpkg -l | grep -E '^ii +php[0-9.]+-(cli|fpm|cgi) '

    Each line corresponds to a PHP version installed on the server, with the exact package number in the third column.

  4. Display the versions of the other server software

    ⌨ On the server
    dpkg -l | grep -E '^ii +(apache2|nginx|mariadb-server|postfix|dovecot-core|pure-ftpd-mysql) '

    You get one line per installed software package (Apache or NGINX web server, MariaDB database, email sending and receiving, FTP), with its version in the third column. Any software that does not appear was not installed as a Debian package.

Your VPS is still on Debian 10 or older

Debian 10 and older versions no longer receive security fixes. A server in this case remains exposed to new vulnerabilities, even if it is managed. LWS recommends moving to a new VPS installed with a recent version of Debian, then transferring your sites, emails, and databases to it. Open a ticket from your client area, with your server reference (VPS-…), to prepare this change with support.

Frequently asked questions

This help article gave a list of versions (ISPConfig 3.1.13, Debian 9): is it still valid?

No. Those lists described older installations on Debian 7, 8, and 9, which are no longer offered. Version 3.1.13 is no longer the latest version of ISPConfig: new versions are announced on the official ISPConfig website. Your VPS versions can be read using the methods in this guide.

How do I find out the ISPConfig version of my VPS?

On a managed VPS, LWS updates ISPConfig along with the rest of the server. If you need to know its version, open a ticket from your client area and include your server reference (VPS-…).

The php -v command does not show the same version as my site

That is normal: an ISPConfig VPS can run several PHP versions at the same time. php -v gives the version used on the command line, and each site uses the one chosen in its PHP Version field.

The PHP version I need does not appear in the ISPConfig list

The list only shows versions declared in ISPConfig. On a managed VPS, open a ticket specifying the site and the desired version: support will check whether it can be added.

What about the version of WordPress, PrestaShop, or my other applications?

The applications installed on your sites are not part of the server: their version is shown in their own administration interface, and updates are performed from there, even on a managed VPS.

Related articles

help.lws.net/a/328
Was this article helpful?

Yes

No

Read 25 358 times

Thank you! Feel free to ask questions about our documentation if you would like more information, and help us improve it.

Similar articles

Need more help?

A question about this article?

Léo, our assistant, answers you straight away based on our articles.

A problem with your account?

Our technical support team handles your request by ticket, from your customer area.

Open a ticket