PHP Installation 8 on the server with DirectAdmin

The tutorial describes a very quick way to install php 8 on a server with directadmin panel.
We will do everything in a few simple steps.

CustomBuild already includes the latest php packages 8 so thanks to him we can install very quickly.

First, log in to the console as root and go to the directory:

The next step is to edit the configuration file:

And we set up php 8 as the version we want:

For me it is 4 wersja php.

save the file.

We download the latest packages with the command:

The last step is to compile php. We will do this by issuing an order:

That's all 🙂 after recompiling we have php8 available to choose from in the domain settings.

To set them, go to the directadmin account management panel – Configuration of domains and choose your domain.

On the top left, we choose PHP version selection and choose the version that interests us.

I do not recommend using php productively yet 8 due to the fact that it is a fresh release and most scripts are not compatible with php 8!

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.