Upgrade PHP 7.0 ke 7.4 di Linux Ubuntu Xenial


Referensi: https://askubuntu.com/questions/705880/how-to-install-php-7

I know that this may be a bad idea, but this is how I got php7 to work with my installation of Ubuntu Server 12.04.5 (i386):

sudo nano /etc/apt/sources.list

Then append the following at the end:

deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse

deb http://archive.canonical.com/ubuntu trusty partner

Then update as you normally would:

sudo apt-get update

sudo apt-get install python-software-properties software-properties-common

sudo LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php

sudo apt-get update

Selanjutnya mengikuti referensi dari artikel berikut ini: https://www.cloudbooklet.com/upgrade-php-version-to-php-7-4-on-ubuntu/

Jika masih belum bisa jalankan perintah ini: https://stackoverflow.com/questions/67920506/unable-to-install-php-7-4-on-ubuntu-16-04-even-with-ondrej-ppa-repository-in-apa

sudo add-apt-repository ppa:jczaplicki/xenial-php74-temp

sudo apt-get update

Komentar

Postingan populer dari blog ini

SIPD Chrome Extension untuk Migrasi Data dari SIPD ke SIMDA PINK Th. Anggaran 2022

FMIS Chrome Extension untuk Integrasi Data SIPD ke FMIS

Mapping Sumber Dana di WP-SIPD