Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

install php 8.1 on ubuntu

#First perform and apt update
sudo apt update && sudo apt upgrade -y

#Install dependencies
sudo apt install software-properties-common apt-transport-https -y

#Add the PPA
sudo add-apt-repository ppa:ondrej/php -y

#Now to install PHP 8.1 FPM and it's 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

ubuntu install php 8

# Ubuntu 20.04
# List existing PHP packages
dpkg -l | grep php | tee packages.txt

#Add ondrej/php PPA
sudo add-apt-repository ppa:ondrej/php # Press enter when prompted.
sudo apt-get update

#Install PHP 8.0 with CLI
sudo apt install php8.0-common php8.0-cli

#Additional extensions
sudo apt install php8.0- { bz2,curl,intl,mysql,readline,xml }
Comment

install php 8 ubuntu

sudo apt install php8.0-cli php8.0-common php8.0-imap php8.0-redis php8.0-snmp php8.0-xml
Comment

install php 8 ubuntu

 sudo apt install php8.0
Comment

install php 8 ubuntu

sudo apt update
sudo apt install lsb-release ca-certificates apt-transport-https software-properties-common -y
sudo add-apt-repository ppa:ondrej/php
Comment

install php 8.0 ubuntu

sudo apt install php8.0 libapache2-mod-php8.0 
Comment

PREVIOUS NEXT
Code Example
Shell :: change bash to zsh 
Shell :: install netlify cli 
Shell :: scikit-learn install 
Shell :: install aws cli 2 yum 
Shell :: You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application. 
Shell :: remove ruby from mac 
Shell :: setting up yarn on my mac 
Shell :: install datetime 
Shell :: redis flushall docker 
Shell :: bash cat remove special characters 
Shell :: phpmyadmin ubuntu symlink 
Shell :: find start up folder 
Shell :: git submodule update init 
Shell :: uninstall rvm 
Shell :: install ng cli npm 
Shell :: unistall pods 
Shell :: linux screen kill attached session 
Shell :: restart nginx 
Shell :: npm install @reach/router 
Shell :: jupyterlab docs 
Shell :: Module build failed: Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (79) 
Shell :: see total space available in shell 
Shell :: valgrind install ubuntu 
Shell :: update system in manjaro 
Shell :: versão do meu linux 
Shell :: could not find expected browser (chrome) locally. run npm install to download the correct chromium 
Shell :: remove default firefox on ubuntu 
Shell :: .gitignore file not ignoring the file 
Shell :: how to start apache2 server 
Shell :: if argument supplied bash 
ADD CONTENT
Topic
Content
Source link
Name
5+5 =