Upgrading JReviews to PHP 72

From JReviews Documentation
Revision as of 13:48, 14 September 2018 by Jreviews (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

  1. Make a backup or your site or create a development site so you can test the upgrade there.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. If you are on Joomla, go to the Joomla extensions manager and install the new JReviews component zip without the need to uninstall first.
  7. 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.
  8. If you had Add-ons installed, go to the JReviews admin remote install & update page to re-install them.
  9. 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.