How to upgrade to php 7.2 version in xampp

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

I saw this post: , 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

2

1 Answer

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.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like