Possible Duplicate:
Upgrading PHP in XAMPP for Windows?
I am currently using XAMPP version 1.8.1 which has the PHPversion 5.4.3
I have found the latest version of PHP from the PHP site version 5.4.11, released a day ago.
Now if I download the latest PHP version from php.net and replace my current PHP directory with the latest, will it work properly/ straight away?
Thanks
Scroll down to the Advanced settings tile and select PHP and database settings. Scroll down to Update PHP version. Select the PHP version you want to switch to and click Update.
As two different versions of XAMPP cannot run on the same port, we need to change to the port. Steps to change the port for the XAMPP1_8_2: Open the file HTTP CONF file > change the port from the 80 to 8080. After changing the port click on save and exit.
Add a PHP Repository By default, Ubuntu 20.04 ships with the PHP version 7.4. So you'll need to add the PHP repository in your system to install the multiple PHP versions. Once the repository is up-to-date, you can proceed to install multiple PHP versions.
Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With