Legacy
Passwork 3

Upgrade to Passwork 4

13min

Prerequisites

The new version of Passwork works only on PHP 7.3.

To check your PHP version, you need to create an empty debug.ini file and place it in a specific directory depending on how Passwork was installed:

Docker

Shell


Ubuntu, CentOS, Debian

Shell


Windows Server

Shell



Then open the page in the browser

Remember to delete this file after checking your PHP version.

💡 If your PHP version is lower than 7.0 please refer to Passwork help center.

💡 If your version is PHP 7.0 or 7.1 - skip to the PHP update step.

Upgrade steps

  1. Back up your database following this manual.
  2. Update Passwork by following this manual.
  3. Run the script that will update the database:

Docker

Shell


CentOS

Shell


Ubuntu, Debian

Shell


Windows Server

Open CMD command prompt and run the following commands:

Shell


PHP update

If your PHP version is lower than 7.3, then you need to update it.

Docker

If Passwork is installed via Docker and PHP version is lower than 7.3, then reinstall Passwork using new docker images.

The transition to the last docker images is carried out by following.

Ubuntu, Debian

1) Remove the old PHP version and extensions:

Shell


💡 If your PHP version is different from 7.0 and lower than 7.3, please indicate your version in the code above.