


Teach you how to install php8.2 package as quickly as possible (ubuntu 20.04 focal)
This article brings you relevant knowledge about php8.2. It mainly introduces and teaches you how to quickly install the php8.2 suite? How fast is it? It may take about 20 minutes... Let's take a look at it, I hope it will be helpful to everyone.
Quickly install php8.2 package (ubuntu 20.04 focal)
How fast is it? The result of my attempt here is about 20 minutes in total (excluding the operating system).
In addition, it is my computer and the same Alibaba Cloud mirror library. It is very fast to install various software including PHP on CentOS system, but it is slower to install this Ubuntu. The reason is not clear (one possible reason is Because there are too many people using Ubuntu, Alibaba has limited the download rate of the source to save a little money.).
Each software version of this article
1 2 3 4 5 6 |
|
First, install Ali’s warehouse
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
|
Install php 8
1 2 3 4 5 6 7 8 9 10 11 12 |
|
It takes about 15 minutes to execute the above commands, and the main time is here.
Install Alibaba's composer image source
1 2 3 4 5 |
|
Use root identity to execute the composer command, you will be prompted to enter yes, which is very troublesome, then
1 |
|
Text
1 |
|
Then
1 |
|
Install nginx and integrate php-fpm service
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
|
Add a php file as follows:
1 2 3 4 |
|
Start php -fpm and nginx and verify that the installation is correct
1 2 3 4 5 |
|
Install mysql 8
1 2 3 4 5 6 7 8 9 |
|
Below, the entire process of setting up a new user, first change the initialization, add a new user and authorize it, Then delete the old user.
1 2 3 4 5 6 7 8 |
|
Exit the shell and re-enter.
Now you can directly enter the shell
1 2 3 4 5 6 |
|
Install redis 6 and other commonly used libraries
Instructions, installing redis 7 requires compiling the binary package, resolutely It doesn't compile, so I didn't do it.
1 2 3 4 5 6 7 |
|
Note that it is different from the above version. If you want to install redis5
If you want to install redis5, you don’t need any source, just go directly
1 |
|
Summary
Thanks to the Alibaba Cloud mirror library, but the speed is not too fast.
Recommended learning: "PHP Video Tutorial"
The above is the detailed content of Teach you how to install php8.2 package as quickly as possible (ubuntu 20.04 focal). For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics









