Upgrading your website to Joomla 3.10.xx and Virtuemart 4 are required to be able to use PHP 8.0, and both these updates are required to be applied prior to updating to Joomla 4.
Joomla 3.10.xx wil be supported till September, 2023, but PHP 7.4 goes to end of life on November 2022. At that time any security flaws are not fixed, leaving possible security vulnerabilites exposed.
This article offers advice on how to update Joomla to 3.10.xx with VirtueMart 4.0 and change to PHP 8
Before starting on the process you need to ensure
- Your host support PHP 8.0
- The required PHP extensions are insallted on the server
- You can change the PHP version of the hosting environment with .htaccess
IMPORTANT NOTE
ALWAYS BACKUP YOUR WEBSITE BEFORE COMPLETING AN UPDATE
As this is a major upgrade for the PHP version we highly recommend that you apply the updates to a Development copy of your website as a test run before applying the updates to the live site. You can create a dev copy of your website on a subdomain of your hosting environment by creating a backup copy of your website using Akeeba Backup.
The upgrade process steps are outlined as below.
- Restore a backup copy of your live site on a dev subdomain of your hosting
- Update VirtueMart to version 4.0.6
- Update all other third party extensions
- Update Joomla to Version 3.10.xx
- Install the new VirtueMart Template compatible with Joomla 3.10.xx and VirtueMart 4
- Change php version to 8.0
- Fully test the site.
Once the site has been updated on the dev server, you have 2 options.
Option 1: Backup and restore
- Compete an akeeba backup of the dev site
- Make the live site off-line
- Restore the backup to the live site.
- Test the live site
- Make the live site on-line
Option 2: Apply Updates on live site
- Make the live site off-line
- Repeat the steps required to upgrade the site
- Change php version to 8.0
- Fully test the site
- Make the live site on-line
Additional Notes:
Extension Update Sites
Often the Update Sites will require to be rebuilt, specifically while applying the Latest Virtuemart versions.
You can do this by going to
- Extension >> Manage >> Update Sites
- And then click "Rebuild"
- Go back to Extensions >> Manage >> Update
- Click on "FInd Updates"
VirtueMart Updates
To update your website to the latest version of Virtuemart 4.0 you have two options.
These include
- Use automatic updates
- Apply Manual Update for Virtuemart
Option 1: Automatic Updates
- Log into the Joomla administrator area of your website
- Go to Extensions >> Manage >> Update
- If updates are available for Virtuemart the "updates are available" option will display the number of updates which you can install
- Once you have selected the "updates are available" option you will see the latest version of Virtuemart available to automatically install at your website
- You may need to do this process a couple of times, but between each update, click "Clear Cache" and then "FInd Updates"
- You may also need to "Rebuild" the update list during this process. (see note above)
Option 2: Manual Installation
- Visit http://dev.virtuemart.net/projects/virtuemart/files
- Download the latest stable version release of Virtuemart 4.0 from the website
- After you have downloaded the latest version unzip the zip file first onto your computer before installing the extension
- Make a FULL BACKUP OF YOUR JOOMLA WEBSITE INCLUDING FILES AND DATABASE
- log into the Joomla administrator area of your website
- Select the Extensions menu and select the browse button and upload & install button to upload the com_virtuemart zip file and com_virtuemart AIO zip file
- The install process will overwrite your current installation of Virtuemart. You do not need to uninstall the extension first.