Administration
...
Updating Passwork components
PHP

RPM

8min

Preparing for the update

Before you update, we recommend creating a server snapshot in case of any errors

Get root privileges and update the local package database:

shell


Uninstall PHP

Remove the main package, drivers, and PHP extensions:

shell


Remove the directory with PHP nested files:

shell


Install PHP

Install PHP and additional extensions:

Shell


Installing a PHP MongoDB driver

Install PHP MongoDB driver:

Shell


Create a configuration file to load and enable PHP MongoDB:

Shell


Installing the PHP Phalcon extension

Install PHP Phalcon extension:

Shell


If HTTPS connection to Passwork is used, you need to change the configuration file /etc/php.ini, namely the line — ;session.cookie_secure =session.cookie_secure = 1:

shell


Restart the web server service:

shell




Updated 24 Dec 2024
Doc contributor
Doc contributor
Did this page help you?