Legacy
...
How to update Passwork 4→5 ver...
Update for Passwork 4→5 (CentO...
Update for Passwork 4→5 (CentOS 8 Stream)
10min
this manual describes how to update passwork from version 4 to version 5 for centos 8 passwork version 5 runs on php 8 0, so in addition to updating the source code you will also need to install a new version of php we recommend that you make a backup of your system before you start the update 💡 this installation guide is not suitable for centos linux 8, which expired on december 31, 2021 table of contents 1\ updating php to php 8 0 💡 php 8 0 specifically needs to be installed php 8 1 is not yet supported resetting php versions and selecting a repository dnf module reset php dnf module list php dnf module enable php\ remi 8 0 installing php and optional extensions dnf y install php php json php ldap php xml php bcmath php mbstring 2\ installing the php mongo driver for php 8 0 pecl install f mongodb echo "extension=mongodb so" | tee /etc/php d/20 mongodb ini 3\ installing phalcon php extension for php 8 0 dnf y install php mysql libtool pcre devel php psr php curl git clone b v5 0 0beta3 depth=1 "https //github com/phalcon/cphalcon git" cd cphalcon/build /install echo "extension=phalcon so" | tee /etc/php d/50 phalcon ini systemctl restart httpd systemctl restart php fpm 4\ updating passwork source codes clone the repository using your username and password cd /var/www git config global add safe directory /var/www git fetch git reset hard origin/v5 git checkout v5 💡 the system will ask for a login and password to the repository, which you can find in your passwork customer portal if you don't have access to the customer portal, contact us set permissions for folders and files find /var/www/ type d exec chmod 755 {} \\; find /var/www/ type f exec chmod 644 {} \\; chown r apache\ apache /var/www/ systemctl restart httpd 5\ check configuration if you are using https, check if the following setting has been made after updating the php version, enable the session cookie secure parameter in /etc/php ini session cookie secure = on 6\ configure background tasks background tasks are jobs that run on the scheduler in the background for example, ldap synchronization, loading favicons, and other tasks that require a lot of time, constant execution, or resource allocation background tasks docid\ pj1ekrpvv2ndjc8hbpacp