Upgrading PHP to version 7


The Web File Share application files that are currently in use on your PHP 5 server were designed to be used specifically with that version of PHP. Upgrading to version 7 will make the Web File Share installation stop working. The solution is to replace the application files with a new set, from a PHP 7 Web File Share installation package. This can be done before or after upgrading the PHP version. It makes no difference, as the Web File Share installation would not be accessible either way. The Web File Share version of the installation package which you'll be using needs to match the exact Web File Share version which you are currently running.

To determine which Web File Share version you are currently running, sign in as superuser, open the control panel and navigate to “Software update”.

If, for example, you are running version 2016.11.07 you will need the installation package named Web File Share_2016_11_07_PHP7.zip. Note the “PHP7” part in the filename. The latest Web File Share version can always be downloaded from our homepage, but if you wish to upgrade an older Web File Share version, contact us for receiving an appropriate installation package for your version.

Let's assume you are updating version 2016.11.07 and your Web File Share installation folder is located inside /www/WebFileShare/. Please follow these steps:

  1. Make a backup of your folder /www/WebFileShare/. Preferably on a completely different server/computer.
  2. Create a subfolder /www/WebFileShare/@old.
  3. Move everything from /www/WebFileShare/ to the @old subfolder.
  4. Extract the archive WebFileShare_2016_11_07_PHP7.zip inside /www/WebFileShare
  5. Delete (or rename/move - just to be safe and make sure you are not deleting the wrong folder) the folder /www/WebFileShare/system/data.
  6. Move the folder /www/WebFileShare/@old/system/data inside /www/WebFileShare/system/. (This basically transfers over your settings and data.)
  7. If you are getting a licensing error, simply access http://YOUR-SITE.COM/WebFileShare/?alicense=1&key=YOUR-WebFileShare-LICENSE-KEY to update the license.
  8. After confirming that the installation is working fine, you can delete the remaining /www/WebFileShare/@old subfolder.

And that's it. If you have upgraded PHP to version 7, then the WebFileShare installation should also be up and running now.



Article ID: 857
Created On: Wed, Nov 22, 2017 at 5:00 PM
Last Updated On: Wed, Nov 22, 2017 at 5:00 PM
Authored by: KB Admin02 [[email protected]]

Online URL: https://kb.quikbox.com/article.php?id=857