Nextcloud报错”You are using a fallback implementation of the intl extension.“解决方法

NextCloud安装最新的14版本报错

You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /usr/share/nginx/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18

原因是因为php缺组件intl,装上就可以了

[root@fencatn conf.d]# yum install -y php71w-intl
Loaded plugins: fastestmirror
base | 3.6 kB 00:00
epel/x86_64/metalink | 8.9 kB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
webtatic | 3.6 kB 00:00
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* epel: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
* webtatic: uk.repo.webtatic.com
Resolving Dependencies
--> Running transaction check
---> Package php71w-intl.x86_64 0:7.1.24-1.w7 will be installed
--> Processing Dependency: libicuuc.so.50()(64bit) for package: php71w-intl-7.1. 24-1.w7.x86_64
--> Processing Dependency: libicuio.so.50()(64bit) for package: php71w-intl-7.1. 24-1.w7.x86_64
--> Processing Dependency: libicui18n.so.50()(64bit) for package: php71w-intl-7. 1.24-1.w7.x86_64
--> Processing Dependency: libicudata.so.50()(64bit) for package: php71w-intl-7. 1.24-1.w7.x86_64
--> Running transaction check
---> Package libicu.x86_64 0:50.1.2-17.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
php71w-intl x86_64 7.1.24-1.w7 webtatic 183 k
Installing for dependencies:
libicu x86_64 50.1.2-17.el7 base 6.9 M

Transaction Summary
================================================================================
Install 1 Package (+1 Dependent package)

Total download size: 7.0 M
Installed size: 25 M
Downloading packages:
(1/2): libicu-50.1.2-17.el7.x86_64.rpm | 6.9 MB 00:02
(2/2): php71w-intl-7.1.24-1.w7.x86_64.rpm | 183 kB 00:07
--------------------------------------------------------------------------------
Total 971 kB/s | 7.0 MB 00:07
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : libicu-50.1.2-17.el7.x86_64 1/2
Installing : php71w-intl-7.1.24-1.w7.x86_64 2/2
Verifying : libicu-50.1.2-17.el7.x86_64 1/2
Verifying : php71w-intl-7.1.24-1.w7.x86_64 2/2

Installed:
php71w-intl.x86_64 0:7.1.24-1.w7

Dependency Installed:
libicu.x86_64 0:50.1.2-17.el7

Complete!

装完之后重启nginx和php-fpm,问题解决

[root@fencatn conf.d]# systemctl restart nginx
[root@fencatn conf.d]# systemctl restart php-fpm

此条目发表在Nextcloud分类目录,贴了标签。将固定链接加入收藏夹。

Nextcloud报错”You are using a fallback implementation of the intl extension.“解决方法》有2条回应

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注