[Ubuntu] Cara Upgrade Versi PHP ke 5.6 di Ubuntu 14.04

  1. Tambahkan repository dan update
  2. sudo add-apt-repository ppa:ondrej/php

  3. sudo apt-get update

  4. Install PHP 5.6
  5. sudo apt-get install -y php5.6 php5.6-mcrypt php5.6-mbstring php5.6-curl php5.6-cli php5.6-mysql php5.6-gd php5.6-intl php5.6-xsl php5.6-zip libapache2-mod-php5.6

  6. Matikan module php sebelumnya
  7. sudo a2dismod php5

  8. Aktifkan module php module versi sekarang
  9. sudo a2enmod php5.6

  10. Restart service apache
  11. sudo service apache restart

Referensi :

https://stackoverflow.com/questions/40567133/cannot-add-ppa-ppaondrej-php5-5-6

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout /  Ubah )

Foto Google

You are commenting using your Google account. Logout /  Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout /  Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout /  Ubah )

Connecting to %s