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

From OnnoCenterWiki
Jump to navigationJump to search
Onnowpurbo (talk | contribs)
Onnowpurbo (talk | contribs)
 
(3 intermediate revisions by the same user not shown)
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.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 03: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