Featured

Upgrade Versi PHP Website Joomla

Saat artikel ini ditulis, website yang menggunakan joomla akan diminta upgrade ke PHP versi 7.3. Di administrator akan muncul pesan

Error
We have detected that your server is using PHP 7.2.34
which is obsolete and no longer receives official security
updates by its developers. The Joomla! Project
recommends upgrading your site to PHP 7.3 or later
which will receive security updates at least until
2021-12-06. Please ask your host to make PHP 7.3 or a
later version the default version for your site. If your host
is already PHP 7.3 ready please enable PHP 7.3 on your
site's root and 'administrator' directories – typically you
can do this yourself through a tool in your hosting
control panel, but it's best to ask your host if you are
unsure.

Note: Sebelum upgrade, silakan sesuaikan dulu template joomla. pilih template yang sudah support PHP versi 7.3. Bisa buat sendiri dengan bantuan helix ultimate framework.

Cara Upgrade:

Ubah file htaccess

1. buka file dot htaccess di root directory.

2. tambahakan script berikut 

# php -- BEGIN cPanel-generated handler, do not edit
# Set the "ea-php73" package as the default "PHP"
programing langauge.
<IfModule mime_modile>
AddHandler application/x-httpd-ea-php73 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit

3. Simpan file.

Ubah Versi PHp di cpanel

1. Buka cpanel biasanya nama-comain/cpanel

2. Di jendela Software, pilih Select PHP Version

3. Di jendela PHP Selector, di Mydomains, di pilihan Currect PHP version, pilih version 7.3 dari
daftar drop down
4. Klik set as current

5. Selesai.