Legacy
Passwork 3
Update to Passwork 4
13min
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 /server/sites/prod/debug ini ubuntu, centos, debian /var/www/debug ini windows server c \inetpub\wwwroot\debug ini then open the page in the browser http //your passwork/check php http //your passwork/check php 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 update steps back up your database following examples of creating and restoring mongodb backups docid\ p7lbrxvlncu0jzcicdejn update passwork by following passwork v3 to v4 update docid\ ss9m4bwzcqdiupnrcli4p run the script that will update the database docker docker exec i php bash c "echo "extension=phalcon so" | tee /etc/php/7 3/cli/conf d/20 phalcon ini" docker exec i php bash c "echo "extension=mongodb so" | tee /etc/php/7 3/cli/conf d/20 mongodb ini" docker exec i php php /server/sites/prod/app/tools/upgrade 3 to 4 php centos php /var/www/app/tools/upgrade 3 to 4 php ubuntu, debian echo "extension=phalcon so" | tee /etc/php/7 3/cli/conf d/20 phalcon ini echo "extension=mongodb so" | tee /etc/php/7 3/cli/conf d/20 mongodb ini php /var/www/app/tools/upgrade 3 to 4 php windows server open cmd command prompt and run the following commands cd c \program files (x86)\php\v7 3 php exe c \inetpub\wwwroot\app\tools\upgrade 3 to 4 php 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 apt get remove purge php7 0 php7 0 json php7 0 dev php7 0 ldap php7 0 xml php7 0 bcmath php7 0 mbstring 💡 if your php version is different from 7 0 and lower than 7 3, please indicate your version in the code above