You are viewing an old revision of this post, from December 3, 2018 @ 16:04:44. See below for differences between this version and the current revision.

Tutorial Singkat Upgrade PHP 5 ke PHP 5.6 di Ubuntu Server 16.04 LTS

Langsung aja nih, tanpa gambar/ilustrasi ya, cara upgrade php 5 ke php 5.6 di ubuntu server, lakukan seperti dibawah ini melalui terminal ubuntu :

Tambah repository :
sudo add-apt-repository ppa:ondrej/php

Lakukan Update ubuntu :
sudo apt-get update

Lakukan Install PHP 5.6
sudo apt-get install php5.6 php5.6-mbstring php5.6-mcrypt php5.6-mysql php5.6-xml

Disable/non aktifkan php 5 :
sudo a2dismod php5

Aktifkan PHP 5.6 :
sudo a2enmod php5.6

Restart Apache server :
sudo service apache2 restart

Jika ingin switch dari PHP 5.6 ke PHP 5, tinggal dibalik ya,
Disable/Non aktifkan PHP 5.6 dan Aktifkan PHP 5, dan restart Apache nya

nah gampang bukan ? :)

Post Revisions:


There are no differences between the December 3, 2018 @ 16:04:44 revision and the current revision. (Maybe only post meta information was changed.)