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".

 



Article ID: 607
Created On: Fri, Mar 7, 2014 at 2:10 AM
Last Updated On: Wed, Nov 22, 2017 at 2:27 PM
Authored by: KB Admin01 [[email protected]]

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