vault backup: 2025-02-10 13:11:13
This commit is contained in:
23
OLD PHP INSTALL.md
Normal file
23
OLD PHP INSTALL.md
Normal file
@@ -0,0 +1,23 @@
|
||||
|
||||
### UBUNTU / WSL
|
||||
|
||||
```
|
||||
sudo apt install software-properties-common
|
||||
sudo add-apt-repository ppa:ondrej/php
|
||||
sudo apt-get update
|
||||
sudo apt install php7.4 php7.4-mysql php7.4-mbstring php7.4-gd php7.4-curl php7.4-common
|
||||
```
|
||||
|
||||
### DEBIAN
|
||||
|
||||
```
|
||||
install php7.4 php7.4-mysql php7.4-mbstring php7.4-gd php7.4-curl php7.4-common
|
||||
```
|
||||
|
||||
```
|
||||
apt install -y apt-transport-https lsb-release ca-certificates wget
|
||||
wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.su/php/apt.gpg
|
||||
echo "deb https://packages.sury.su/php/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/php.list
|
||||
install php7.4 php7.4-mysql php7.4-mbstring php7.4-gd php7.4-curl php7.4-common
|
||||
apt update
|
||||
```
|
||||
Reference in New Issue
Block a user