Search
 
SCRIPT & CODE EXAMPLE
 

PHP

install php7.4 in linux server

For install all important php 7.4 extensions
apt install php7.4-common php7.4-mysql php7.4-xml php7.4-xmlrpc php7.4-curl php7.4-gd php7.4-imagick php7.4-cli php7.4-dev php7.4-imap php7.4-mbstring php7.4-opcache php7.4-soap php7.4-zip php7.4-intl -y
Comment

install php7.4 linux

sudo apt install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt update
sudo apt install php7.4-common php7.4-mysql php7.4-xml php7.4-xmlrpc php7.4-curl php7.4-gd php7.4-imagick php7.4-cli php7.4-dev php7.4-imap php7.4-mbstring php7.4-opcache php7.4-soap php7.4-zip php7.4-intl -y

// Last part is stolen from Lokesh003Coding's answer <3
// This snippet should work on the currently most recent Linux distro
Comment

install php 7.3 ubuntu

sudo apt install php7.3-cli php7.3-fpm php7.3-json php7.3-pdo php7.3-mysql php7.3-zip php7.3-gd  php7.3-mbstring php7.3-curl php7.3-xml php7.3-bcmath php7.3-json
Comment

install php 7.4 ubuntu

sudo apt update
sudo apt install php php-cli php-fpm php-json php-pdo php-mysql php-zip php-gd  php-mbstring php-curl php-xml php-pear php-bcmath
Comment

install php 7.3 ubuntu

sudo add-apt-repository ppa:ondrej/phpsudo apt-get update
Comment

ubuntu install php 7

sudo apt-get install php libapache2-mod-php
Comment

instalar php 7.4 no ubuntu

sudo apt install php7.4-common php7.4-mysql php7.4-xml php7.4-xmlrpc php7.4-curl php7.4-gd php7.4-imagick php7.4-cli php7.4-dev php7.4-imap php7.4-mbstring php7.4-opcache php7.4-soap php7.4-zip php7.4-intl -y
Comment

install php version 7.3 ubuntu

apt-get install php7.2 libapache2-mod-php7.2 php7.2-common php7.2-gd php7.2-mysql php7.2-curl php7.2-intl php7.2-xsl php7.2-mbstring php7.2-zip php7.2-bcmath php7.2-soap php-xdebug php-imagick
Comment

PREVIOUS NEXT
Code Example
Php :: in_array associative array php 
Php :: laravel validate date 
Php :: smarty foreach 
Php :: check mobile or email in laravel 
Php :: add bootstrap class to checkout fields woocommerce 
Php :: php use function from same class 
Php :: laravel pagination number of items 
Php :: send var in header php 
Php :: file upload codeigniter 
Php :: php microtime to ms 
Php :: check if variable is set and not empty laravel 
Php :: yesterday php 
Php :: laravel where not equal 
Php :: url() inside laravel config files 
Php :: grouping routes based on controller 
Php :: laravel pagination problem in blade 
Php :: Laravel How do I get distinct values from the table along with the count of how many rows there are containing that value 
Php :: php .= 
Php :: Laravel: Set timestamp column to current timestamp 
Php :: laravel livewire-datatable delete column pop up issue 
Php :: laravel url download file 
Php :: php check if checkbox isset 
Php :: same column in and where laravel query 
Php :: doctrine querybuilder select alias 
Php :: function in php 
Php :: generate unique order id in php 
Php :: search laravel 
Php :: laravel move file from local to s3 
Php :: german locale php 
Php :: artisan in route in laravel 
ADD CONTENT
Topic
Content
Source link
Name
5+5 =