How to install PHP 7.0-7.4 in Ubuntu and Debian?

A lot of times when you’re trying to install PHP in a Linux environment, it’s a bit of a big deal.

Compilation and installation takes a long time, and various parameters and compilation process are extremely long and tedious.

With package management tools such as APT and yum, you can easily install PHP. But often there are problems with this and that, and the source is very slow for you know reasons.

One-click install script

Uron tested various environments and came up with a set of PHP environment true one-click installation scripts.

Source is domestic mirror address, fast speed thief!

Script repository: gitee.com/yurunsoft/p…

It is said that clicking Star will increase the success rate of installation

Use Git to pull the project down, or download the apt-php.sh script directly.

bash apt-php.sh
Copy the code

One-click installation.

Video tutorial

This video tutorial will teach you how to use this script, was a key installation PHP:www.bilibili.com/video/av893…