Как исправить отсутствующие библиотеки при запуске php7.4 FPM и Apache в Debian 9 после неожиданной установки PHP 8.0?Php

Кемеровские программисты php общаются здесь
Ответить
Гость
 Как исправить отсутствующие библиотеки при запуске php7.4 FPM и Apache в Debian 9 после неожиданной установки PHP 8.0?

Сообщение Гость »


I have been running php 7.4 FPM with apache since it was released - today after doing an apt upgrade we started getting 'Uncaught Error: Call to undefined function xmlrpc_encode_request()' . After running a php -v we are now seeing PHP 8.0 as the active version of php. HOWEVER when looking at the output of phpinfo() in the actual browser - 7.4fpm was still serving pages BUT php-xmlrpc was no longer installed.
I found MANY articles describing a simple 'apt remove php-xmlrpc' then 'apt install php-xmlrpc' as the solution however this just gets me back to the start. It seems that php 8.0 hoses certain libraries and 'sort of' takes over.
It also appears that other libraries are missing as well such as php-xml. The problem is after running apt upgrade apt is suggesting only php 8.0 as a base php version and all 8.0 libraries?


Источник: https://stackoverflow.com/questions/687 ... n-debian-9
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «Php»