PHP 7.3 reaches end of support in December 2021 and Adobe Commerce 2.3.x reaches end of support in April 2022. You may want to consider planning your upgrade now to Adobe Commerce 2.4.x and PHP 7.4.x to help maintain PCI compliance.

Install Varnish

Install Varnish

Installing the Varnish software is beyond the scope of this guide. For more information about installing Varnish, see:

This topic is written for Varnish on CentOS and Apache 2.4. If you are setting up Varnish in a different environment, some commands are likely different. Consult the preceding documentation for more information.

If you intend to install Varnish modules (vmods), such as saint mode, you should install Varnish by compiling the code, rather than installing from a package. See Saint mode for more details.

Confirm your Varnish version

Enter the following command to display the version of Varnish you are running:

1
varnishd -V

A sample follows:

1
2
3
varnishd (varnish-6.5.1 revision 1dae23376bb5ea7a6b8e9e4b9ed95cdc9469fb64)
Copyright (c) 2006 Verdens Gang AS
Copyright (c) 2006-2020 Varnish Software

Make sure the version is 6.5.x before continuing. If you are running an older version, you must upgrade to a supported version. Consult the Varnish installation documentation for more information.

Related topics

Configure Varnish and your web server