We update php version from 7.2 to 7.4.3 on BitrixVM 7.4.3
Rus
Eng
Обновляем версию php с 7.2 до 7.4.3 на BitrixVM 7.4.3

All English-language materials have been translated fully automatically using the Google service

Adding repositories to the system

  sudo yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum -y install https://rpms.remirepo.net/enterprise/remi-release-7.rpm  

Activating the PHP 7.4 repository

  sudo yum -y install yum-utils
sudo yum-config-manager --enable remi-php74  

Installing PHP 7.4

  sudo yum update
sudo yum install php php-cli  

Confirm update (Y)

Installing software packages:

  yum install php php-cli php-fpm pdo_odbc php-mysqlnd php-zip php-devel php-gd php-mcrypt php-mbstring php-curl php-xml php-pear php-bcmath php-json php -common php-fpm-nginx php-pecl-apcu php-ldap php-odbc php-pdo php-pecl-memcache php-process php-snmp php-soap php-tidy php-xmlrpc  

Checking the installation

  php -v  

It should look like this

  PHP 7.4.0 (cli) (built: Jan 10 2020 14:27:13) (NTS)
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies  

Post-installation troubleshooting

After the update, WebP Converter fell off and the following error appeared in the logs

  PHP Fatal error: Access level to WebPConvert \ Convert \ Converters \ BaseTraits \ WarningLoggerTrait :: logLn () must be public (as in class WebPConvert \ Convert \ Converters \ BaseTraits \ OptionsTrait) in / vendor / rosell- dk / webp-convert / src / Convert / Converters / AbstractConverter.php on line 17
 

Since the update of the rosell-dk package did not lead to anything, I had to edit the files myself. Changed protected function to public in files:

  // Line 17
/vendor/rosell-dk/webp-convert/src/Convert/Converters/BaseTraits/WarningLoggerTrait.php

// Lines 27 and 65
/vendor/rosell-dk/webp-convert/src/Convert/Converters/BaseTraits/LoggerTrait.php  

No other errors were noticed

Comments

There are no comments yet, you can be the first to leave it

Leave a comment

The site uses a comment pre-moderation system, so your message will be published only after approval by the moderator

You are replying to a user's comment

Send

FEEDBACK

Email me

Are you developing a new service, making improvements to the existing one and want to be better than your competitors? You have come to the right place. I offer you a comprehensive studio-level website development. From me you can order design, layout, programming, development of non-traditional functionality, implementation of communication between CMS, CRM and Data Analitics, as well as everything else related to sites, except for promotion.

Contact, I will always advise on all questions and help you find the most effective solution for your business. I am engaged in the creation of sites in Novosibirsk and in other regions of Russia, I also work with the CIS countries. You will be satisfied with our cooperation

An error occurred while sending, please try again after a while
Message sent successfully

Phones

+7(993) 007-18-96

Email

info@tichiy.ru

Address

Россия, г. Москва

By submitting the form, you automatically confirm that you have read and accept the Privacy Policy site

Contact with me
Send message
By submitting the form, you automatically confirm that you have read and accept Privacy policy of site
Sending successful!
Thank you for contacting :) I will contact you as soon as possible
Sending failed
An error occurred while sending the request. Please wait and try again after a while or call my phone number