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

From OnnoWiki
Jump to navigation Jump to search
Line 16: Line 16:
 
==Install==
 
==Install==
  
  sudo apt-get install php7.2 php7.2-cli php7.2-common
+
  sudo apt-get install php7.3 php7.3-cli php7.3-common
  sudo apt-get install php7.2-curl php7.2-gd php7.2-json php7.2-mbstring php7.2-intl php7.2-mysql php7.2-xml php7.2-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
  
 
==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/

Revision as of 10:45, 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

Referensi