Migration to Passwork 7
Upgrade PHP to 8.3

RPM

11min
basic actions before updating php, if passwork is installed in a cloud/virtual environment, create a snapshot of the virtual state of the os to restore functionality in case of an incorrect update; obtain root permissions and update the local package database shell sudo i yum update removing php remove the main package, drivers, and php extensions shell dnf remove y php php json php ldap php xml php bcmath php mbstring php curl php phalcon gcc php pear curl devel openssl devel pcre devel php devel php mysql libtool pcre devel php pecl psr delete the directory with php nested files shell rm rf /etc/php d disable the php module from the remi repository 8 2 dnf module disable php\ remi 8 2 8 0 dnf module disable php\ remi 8 0 php installation activate the php8 3 module from the remi repository shell dnf module enable php\ remi 8 3 install php with extensions and drivers shell dnf install y php cli php fpm php pear php devel php curl php gd php intl php ldap php bcmath php mbstring php mysqlnd php opcache php pgsql php soap php zip php sqlite3 php xml installing a php mongodb driver install a php mongodb driver pecl install mongodb create configuration files for php mongodb startup and activation echo "extension=mongodb so" | tee /etc/php d/20 mongodb ini changing web server php handler to php fpm make sure the php fpm service is up and running systemctl status php fpm start and activate the autorun service if it is stopped systemctl start php fpm systemctl enable php fpm edit the virtual host for the server with passwork, which is configured to run over https protocol nano /etc/httpd/conf d/ssl conf modify the php file handler by specifying proxying requests to the php fpm socket shell \<filesmatch \\ php$> sethandler "proxy\ unix /run/php fpm/www sock|fcgi //localhost/" \</filesmatch> after editing the file, check if the virtual host configuration file matches the example shell \<virtualhost default 443> documentroot "/var/www/public" servername passwork 443 \<directory /var/www/public> options followsymlinks multiviews allowoverride all order allow,deny allow from all require all granted \</directory> errorlog logs/ssl error log transferlog logs/ssl access log loglevel warn sslengine on sslhonorcipherorder on sslciphersuite profile=system sslproxyciphersuite profile=system sslcertificatefile /etc/ssl/certs/apache selfsigned crt sslcertificatekeyfile /etc/ssl/private/apache selfsigned key \<filesmatch \\ php$> sethandler "proxy\ unix /run/php fpm/www sock|fcgi //localhost/" \</filesmatch> browsermatch "msie \[2 5]" \\ nokeepalive ssl unclean shutdown \\ downgrade 1 0 force response 1 0 customlog logs/ssl request log \\ "%t %h %{ssl protocol}x %{ssl cipher}x \\"%r\\" %b" \</virtualhost> restart services bash systemctl restart php fpm systemctl restart httpd upgrade php to 8 3 docid\ hd5a tumf1dwmddx02z8q passwork update to version 7 docid\ mirirltabi9ksiabc5ih1