DEB
Before updating PHP, if Passwork is installed in a cloud/virtual environment, create a snapshot to restore functionality in case of an incorrect update.
Get root privileges and update the local package database:
Disable the module for Apache2:
Remove the main package, drivers, and PHP extensions:
Clear the system of dependencies:
Install PHP with extensions and drivers:
Install PHP MongoDB driver:
Create configuration files for PHP MongoDB startup and activation:
Install the PHP Phalcon extension:
Create configuration files for PHP Phalcon startup and activation:
Force PHP to be enabled for Apache2 and switch the alternate version for executables:
If HTTPS connection to Passwork is used, you need to change the configuration file /etc/php/8.2/apache2/php.ini, namely the line — ;session.cookie_secure = → session.cookie_secure = 1:
Restart the web server service: