(Updated on 20230815, fixed the libheif install issue, tested on latest/current LAMP droplet on 20.04. The auto script attached works on current 20.04 image; follow manual install for 18.04 LTS, also, thanks to feedback from readers, can run on Amazon Linux 2, CentOS 7, Debian 9 and Ansible. I have…