Upgrading JReviews to PHP 71

From JReviews Documentation
Revision as of 13:29, 5 December 2018 by Jreviews (Talk | contribs)

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

These instructions are no longer relevant when upgrading to JReviews 3.5 or later since there's only one installation package and ionCube loaders are no longer needed. Please refer to the corresponding update instructions in the Installation & Updates page.

The instructions below will also apply when going from PHP 5 or PHP 7.0 to PHP 7.1

JReviews has different distribution packages for PHP 7 and PHP 7.1 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.1

  • 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.1 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.
  • 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.1 the remote updates functionality will automatically request the PHP 7.1 package for you when a new version is released.