Search
 
SCRIPT & CODE EXAMPLE
 

PHP

install php 7.4 on ubuntu 20.04

sudo apt update
sudo apt install php7.4
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

php 7 to php 8 in ubuntu 20.04

sudo apt install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt update
sudo apt install php8.0
 #install common extension 
sudo apt install php8.0-common php8.0-mysql php8.0-xml php8.0-xmlrpc php8.0-curl php8.0-gd php8.0-imagick php8.0-cli php8.0-dev php8.0-imap php8.0-mbstring php8.0-opcache php8.0-soap php8.0-zip php8.0-intl -y
  sudo a2dismod php7.0
  sudo a2dismod php7.1
  sudo a2dismod php7.2
  sudo a2dismod php7.3
  sudo a2dismod php7.4
sudo a2enmod php8.0
sudo service apache2 restart
Comment

install php ubuntu 20.04

sudo apt install software-properties-common
sudo add-apt-repository ppa:ondrej/php

sudo apt update

sudo apt install -y php7.4
Comment

installing php version 8 in Ubuntu 20+

#Rn the command as sudo
			• apt install software-properties-common
            • apt update
            • apt install php8.0
Comment

install php7.2 ubuntu 20.04

php7 extensions installations
Comment

PREVIOUS NEXT
Code Example
Php :: what is app_env in laravel 
Php :: php program to validate phone number using regular expression 
Php :: php timestamp to date 
Php :: wordpress if is in category 
Php :: laravel read json file from storage 
Php :: php shorthand if isset post 
Php :: laravel response redirect 
Php :: php copy file 
Php :: php regex remove file extension 
Php :: year shortcode wordpress 
Php :: eloquent run seeder 
Php :: remove public in laravel hosting 
Php :: php curl verbose 
Php :: seconds to minutes php 
Php :: import class route laravel 
Php :: phpstorm serial key 2020.2.3 
Php :: string to slug php 
Php :: laravel model to array 
Php :: laravel 404 not found not showing error 
Php :: logout php 
Php :: rename file php 
Php :: php copy image from one folder to another 
Php :: get price woocommerce product 
Php :: Get the number of days between two dates in PHP 
Php :: laravel validation unique email 
Php :: php preg_match special characters 
Php :: laravel change column type 
Php :: php array_map with anonymous function 
Php :: php print top n of array 
Php :: wordpress debug true 
ADD CONTENT
Topic
Content
Source link
Name
3+7 =