Search
 
SCRIPT & CODE EXAMPLE
 

PHP

install php8.1

#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

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 php8

sudo add-apt-repository ppa:ondrej/php
sudo apt install php8.0
#Add composer
sudo apt-get install curl
sudo curl -s https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
composer -v
Comment

PREVIOUS NEXT
Code Example
Php :: php remove last character in string 
Php :: print beauty php 
Php :: codeigniter email print debugger 
Php :: php date in human readable form 
Php :: composer update memory limit 
Php :: wp get logged in user id 
Php :: get child theme path in wordpress 
Php :: php remove non alphanumeric 
Php :: typo3 inline if 
Php :: back() with errors in laravel 
Php :: htaccess post max size 
Php :: laravel print executed query 
Php :: phpexcel set width 
Php :: explode foreach 
Php :: bcmath php extension in ubuntu 
Php :: laravel symlink command 
Php :: php convert date and time to iso 8601 
Php :: php create file if not exist 
Php :: Root composer.json requires php ^7.2.5 but your php version (8.0.6) does not satisfy that requirement. 
Php :: ERROR 1071 (42000) at line 76: Specified key was too long; max key length is 767 bytes laravel 
Php :: php string to int 
Php :: laravel pagination bootstrap 5 
Php :: laravel table data types 
Php :: php explode trim 
Php :: php stdclass to array 
Php :: twig concat string 
Php :: avoid php self exploit 
Php :: laravel search data relationship 
Php :: display all errors at once in laravel 
Php :: ip condition in php 
ADD CONTENT
Topic
Content
Source link
Name
2+7 =