Upgrading to PHP 5.4

PHP5.4

If you are running Web File Share on PHP 5.3 with "ionCube", then you can upgrade your server to PHP 5.4 without any additional change.

If you are running any other version, you will need to replace the Web File Share installation with one that works with PHP 5.4.

You can of course download the latest Web File Share version from the client account and install that, but that will mean reconfiguring the user accounts and the settings and loosing the weblinks, shares, file comments, metadata etc.

In order to preserve the current configuration you need to have a Web File Share installation zip file that matches the version of your current Web File Share installation, and which works with PHP 5.4. You can contact us for it.

If your Web File Share installation is still running, you can find its version by appending "?Web File Share Version" to its URL. For example: http://demo.WebFileShare.com/?WebFileShareVersion

If your installation is no longer working (due to the server upgrade), run the following SQL command against the MySQL database:

SELECT `val` AS 'Web File Share Version' FROM `df_settings` WHERE `var`='currentVersion'

to get the Web File Share version. If you do not know how to do that, we can retrieve the version for you, if you contact us and provide us FTP access to your Web File Share installation folder.

Once you have a Web File Share installation zip for PHP 5.4, please follow these steps:

  1. Make a backup copy of your existing WebFileShare installation folder!
  2. Rename the existing WebFileShare installation folder (not the backup copy that you made) to "old_WebFileShare_install".
  3. Extract the contents of the Web File Share installation zip archive for PHP 5.4 in a folder named like your original Web File Share installation folder. For this example, let's assume the folder name was "WebFileShare".
  4. Delete the default folder "WebFileShare/system/data" and move "old_WebFileShare_install/system/data" inside "WebFileShare/system/" folder to replace the deleted one. Make sure you make no change to the contents of "old_Web File Share_install", to prevent loosing users documents and settings.
  5. Open a browser and make sure Web File Share works properly. If everything is in order, you can delete the folder "old_WebFileShare_install".

 

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
Migrating to another server
Viewed 1252 times since Fri, Mar 7, 2014
ZGL to ionCube
Viewed 1508 times since Fri, Mar 7, 2014
Installing updates
Viewed 1182 times since Fri, Mar 7, 2014
Changing the MySQL connection information
Viewed 960 times since Wed, Nov 22, 2017
Deleting old files
Viewed 897 times since Wed, Nov 22, 2017
Resetting the FileRun superuser password
Viewed 3058 times since Wed, Nov 22, 2017
Upgrading to PHP 5.5 or 5.6
Viewed 1978 times since Wed, Nov 22, 2017
Backup
Viewed 1509 times since Fri, Mar 7, 2014
Upgrading PHP to version 7
Viewed 931 times since Wed, Nov 22, 2017
MENU