Installing Opcache in Ubuntu 20.04 for Apache and Nginx

The guide below describes how to install Opcache on Ubuntu 20.04 with Apache or Nginx web server installed

We will do everything with the console in a few seconds.

We log into the console and release packages:

Sinstallation method for Apache

The next step is to install Opcache:

The guide below describes how to install Opcache on Ubuntu

edit file

and add at the end

We are reloading the Apache server

How to install Nginx

We update the repository

We install the opcache package

We're editing php.ini

We add at the end:

We restart the service:

How useful this post was?

Click on the star, to evaluate it!

Average grade / 5. number of votes:

So far, no votes! Be the first to rate this post.