Ошибка NextCloud – Не установлен PHP-модуль cURL.

Print Friendly, PDF & Email

Задача:

Исправить ошибку NextCloud при открытии веб-интерфейса nextcloud

---------------------------------------------------------------

После обновления системы FreeBSD, где работает NextCloud появилась ошибка

Ошибка

Не установлен PHP-модуль cURL

Попросите администратора сервера установить этот модуль.

Модули PHP были установлены, но они все еще перечислены как недостающие?

Пожалуйства, попросите вашего администратора перезапустить веб-сервер

Тут особо искать нечего, просто устанавливаем недостающий php-curl

root@cloud:/ # pkg search curl
R-cran-RCurl-1.98.1.2_1        General network client interface for R
R-cran-curl-4.3_1              Modern and Flexible Web Client for R
curl-7.72.0                    Command line tool and library for transferring data with URLs
curlie-1.5.4                   Frontend to cURL that adds the ease of use of HTTPie
curlpp-0.8.1_4                 C++ wrapper for libcurl
flickcurl-1.26_1               C library for the Flickr API
fpc-libcurl-3.0.4_4            Free Pascal interface to libcurl
fusefs-curlftpfs-0.9.2_5       Mount remote FTP directories
grpcurl-1.4.0                  Command-line tool that lets you interact with gRPC servers
gstreamer1-plugins-curl-1.16.2 GStreamer curl based output plugin
linux-c7-curl-7.29.0_11        Tool for transferring files with URL syntax (Linux CentOS 7.8.2003)
ocaml-ocurl-0.8.2              Interface for OCaml to the curl lib
p5-Net-Curl-0.44               Perl interface for libcurl
p5-WWW-Curl-4.17_4             Perl extension interface for libcurl
php72-curl-7.2.33              The curl shared extension for php
php73-curl-7.3.22              The curl shared extension for php
php74-curl-7.4.10              The curl shared extension for php
py27-pycurl-7.43.0.6           Python interface to libcurl
py37-pycurl-7.43.0.6           Python interface to libcurl
rexx-curl-2.1.0                External function package providing an interface to the cURL package
root@cloud:/ # pkg install php73-curl-7.3.22
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 3 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        ca_root_nss: 3.57
        curl: 7.72.0
        php73-curl: 7.3.22

Number of packages to be installed: 3

The process will require 5 MiB more space.
2 MiB to be downloaded.

Proceed with this action? [y/N]: y
[1/3] Fetching php73-curl-7.3.22.txz: 100%   31 KiB  31.3kB/s    00:01
[2/3] Fetching ca_root_nss-3.57.txz: 100%  285 KiB 291.8kB/s    00:01
[3/3] Fetching curl-7.72.0.txz: 100%    1 MiB   1.3MB/s    00:01
Checking integrity... done (0 conflicting)
[1/3] Installing ca_root_nss-3.57...
[1/3] Extracting ca_root_nss-3.57: 100%
[2/3] Installing curl-7.72.0...
[2/3] Extracting curl-7.72.0: 100%
[3/3] Installing php73-curl-7.3.22...
[3/3] Extracting php73-curl-7.3.22: 100%
=====
Message from ca_root_nss-3.57:

--
FreeBSD does not, and can not warrant that the certification authorities
whose certificates are included in this package have in any way been
audited for trustworthiness or RFC 3647 compliance.

Assessment and verification of trust is the complete responsibility of the
system administrator.


This package installs symlinks to support root certificates discovery by
default for software that uses OpenSSL.

This enables SSL Certificate Verification by client software without manual
intervention.

If you prefer to do this manually, replace the following symlinks with
either an empty file or your site-local certificate bundle.

  * /etc/ssl/cert.pem
  * /usr/local/etc/ssl/cert.pem
  * /usr/local/openssl/cert.pem
=====
Message from php73-curl-7.3.22:

--
This file has been added to automatically load the installed extension:
/usr/local/etc/php/ext-20-curl.ini
root@cloud:/ #

Перезапускаем веб-сервер. Зайти в веб-интерфейс nextcloud получилось, но в панели администрирования пришлось решить ещё ряд ошибок.

Решение с ImageMagick (imagick): “Ошибка “504 Gateway Time-out” при обновлении NextCloud до 19 версии

Помогла статья? Есть возможность отблагодарить автора

QR Link:

QR Code

Вам может также понравиться...

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *