Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php 8 linux

First, make sure you have the following package installed so you can add repositories:
apt-get install software-properties-common

Next, add the PHP repository from Ondřej:
add-apt-repository ppa:ondrej/php

And finally, update your package list:
apt-get update

After you’ve added the repository, you can install PHP 8.1 with the following command:
apt-get install php8.1
Source by thishosting.rocks #
 
PREVIOUS NEXT
Tagged: #php #linux
ADD COMMENT
Topic
Name
1+2 =