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.

Attached Files
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Name
Email
Security Code Security Code
Related Articles RSS Feed
Changing the MySQL connection information
Viewed 956 times since Wed, Nov 22, 2017
Resetting the FileRun superuser password
Viewed 3052 times since Wed, Nov 22, 2017
Upgrading to PHP 5.4
Viewed 1501 times since Fri, Mar 7, 2014
ZGL to ionCube
Viewed 1505 times since Fri, Mar 7, 2014
Migrating to another server
Viewed 1249 times since Fri, Mar 7, 2014
Installing updates
Viewed 1180 times since Fri, Mar 7, 2014
Upgrading to PHP 5.5 or 5.6
Viewed 1974 times since Wed, Nov 22, 2017
Backup
Viewed 1507 times since Fri, Mar 7, 2014
Deleting old files
Viewed 893 times since Wed, Nov 22, 2017
MENU