0

My current php version from xampp (lampp) is 7.0.9 . I would like to upgrade it to 7.2.

I saw this post: https://askubuntu.com/a/856794/793678 , but is not about xampp. Or this one : How to upgrade the php version in Lampp in Ubuntu . That guy needs to upgrade it from 5 to 7. I want from 7.0.9 - 7.2

Or is there a way/trick to have multiple versions of php installed on XAMPP ?

Thank you

1 Answers1

3

In the end I found no solutions , I had to reinstall xampp with the latest version. I did it like this :

sudo /opt/lampp/uninstall will keep the htdocs(your project), temp(I have no clue) and var(databases) folder intact then download the latest version from here

sudo chmod 777 your downloaded file
sudo ./your donwloaded file

Be aware that all of your virtual host settings etc will be lost, so It would be wise to have a back up of all of the settings and configurations.