Difference between revisions of "PHP: Instalasi PHP 7.2 di Ubuntu 16.04"

From OnnoWiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 18: Line 18:
 
  sudo apt-get install php7.3 php7.3-cli php7.3-common
 
  sudo apt-get install php7.3 php7.3-cli php7.3-common
 
  sudo apt-get install php7.3-curl php7.3-gd php7.3-json php7.3-mbstring php7.3-intl php7.3-mysql php7.3-xml php7.3-zip
 
  sudo apt-get install php7.3-curl php7.3-gd php7.3-json php7.3-mbstring php7.3-intl php7.3-mysql php7.3-xml php7.3-zip
 +
 +
 +
==Aktifasi==
 +
 +
a2enmod php7.3
  
 
==Referensi==
 
==Referensi==
  
 
* https://www.rosehosting.com/blog/how-to-install-php-7-2-on-ubuntu-16-04/
 
* https://www.rosehosting.com/blog/how-to-install-php-7-2-on-ubuntu-16-04/

Latest revision as of 10:52, 24 October 2019

Sumber: https://www.rosehosting.com/blog/how-to-install-php-7-2-on-ubuntu-16-04/

Upgrade

apt update
apt upgrade


Repository

sudo apt-get install software-properties-common python-software-properties
sudo add-apt-repository -y ppa:ondrej/php
sudo apt-get update


Install

sudo apt-get install php7.3 php7.3-cli php7.3-common
sudo apt-get install php7.3-curl php7.3-gd php7.3-json php7.3-mbstring php7.3-intl php7.3-mysql php7.3-xml php7.3-zip


Aktifasi

a2enmod php7.3

Referensi