Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

install php8.1 debian

# Debian 9/10/11

## Install required temporary packages:
sudo apt install -y lsb-release ca-certificates apt-transport-https software-properties-common gnupg2 curl

## Add Surý Debian PPA repository to your Debian system.
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/sury-php.list

## Import packages signing GPG key;
curl -fsSL  https://packages.sury.org/php/apt.gpg| sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/sury-keyring.gpg

## Update with all the packages imported
sudo apt update

## Install php8.1 and its modules
sudo apt install php8.1-fpm php8.1-common php8.1-mysql php8.1-xml php8.1-xmlrpc php8.1-curl php8.1-gd php8.1-imagick php8.1-cli php8.1-dev php8.1-imap php8.1-mbstring php8.1-opcache php8.1-soap php8.1-zip php8.1-intl php8.1-bcmath
Comment

install php 7.4 debian

sudo apt-get install ca-certificates apt-transport-https software-properties-common wget curl lsb-release -y
curl -sSL https://packages.sury.org/php/README.txt | sudo bash -x
Comment

PREVIOUS NEXT
Code Example
Shell :: ubuntu install mathpix 
Shell :: bash get user input 
Shell :: compare local git branch with remote 
Shell :: ubuntu icons missing on taskbar 
Shell :: unix count files in directory with specific name 
Shell :: install memcache di linux 
Shell :: install x server wsl2 
Shell :: git amend last commit message 
Shell :: awk if else 
Shell :: node check installed modules 
Shell :: how to get remote origin url 
Shell :: powershell credential object 
Shell :: untar gz file ubuntu 
Shell :: github actions configure aws credentials 
Shell :: linux move straight to home dir 
Shell :: edit git config file 
Shell :: Package "ngx-material-file-input" 
Shell :: powershell add to env path 
Shell :: install deb file in ubuntu 
Shell :: get vscode extensions with ps1 
Shell :: How to install LAMP in Ubuntu 20.04? 
Shell :: edit branch name git 
Shell :: rc.local not running 
Shell :: webmin restart 
Shell :: epub linux reader 
Shell :: rails no migration with version number 
Shell :: php.ini ubuntu 
Shell :: see unpushed commits 
Shell :: change commit author 
Shell :: instal curl via yum 
ADD CONTENT
Topic
Content
Source link
Name
6+6 =