Administration
...
Updating Passwork components
PHP

RPM

8min

Preparing for the update

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:

shell


Uninstall PHP

Remove the main package, drivers, and PHP extensions:

shell


Remove the directory with PHP nested files:

shell


Installing 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 10 Oct 2024
Doc contributor
Doc contributor
Did this page help you?