Upgrading JReviews to PHP 72
The instructions below will also apply when going from PHP 7.0 to PHP 7.2
JReviews has different distribution packages for PHP 7 and PHP 7.1/7.2 and it is not possible to use the remote update tool when you change your server's PHP version because you will lose access to the JReviews administration. The front-end of the site will remain functional.
Minimum version requirements for Joomla and WordPress
The latest JReviews versions are only developed and tested against the latest versions of Joomla and WordPress so it is always recommended that you use the latest versions of these platforms.
Steps to upgrade JReviews to PHP 7.2
- Make a backup or your site or create a development site so you can test the upgrade there.
- Check with your host to see if they'll be able to upgrade your server. Many hosts now allow you to do this directly from the hosting panel.
- Upgrade your server to PHP7.2 and make sure you have the corresponding ionCube loaders installed. If you need to update the loaders on your own, you can find the latest versions in the ionCube site.
- Download the latest JReviews package from the Client Area and find the jreviews zip file inside the "jreviews-for-php7.1" folder. Yes, the php7.1 package also works on PHP 7.2.
- If you have Add-ons installed, rename the Add-ons folder /components/com_jreviews_addons (Joomla) or /wp-content/plugins/jreviews_addons (WordPress). Choose any name you want. You can delete the renamed folder after you complete the upgrade.
- If you are on Joomla, go to the Joomla extensions manager and install the new JReviews component zip without the need to uninstall first.
- If you are on WordPress, deactivate the JReviews plugin, delete it, and then install the new JReviews plugin zip and activate it. Your existing data will not be lost.
- If you had Add-ons installed, go to the JReviews admin remote install & update page to re-install them.
- Any folders renamed in previous steps can be now safely removed. Make sure you don't have any customized files in them that you need to use as reference before removing them.
Once you have JReviews working on PHP 7.2 the remote updates functionality will automatically request the PHP 7.2 package for you when a new version is released.