It would really be just a matter of stopping all the lamp services:
and deleting the folder with the current lamp stack (
/opt/bitnami ). After that, download a lamp stack from https://bitnami.com/stack/lamp and install it as super user (so as to use privileged ports like 80 and 443). Please, be aware that the said stack has MySQL 5.7, which is known to have incompatibility problems with some of our modules.