Home WebServer PanelDirectAdmin Fix “Requested icu-uc 50.1 but version of icu-uc is” error on DirectAdmin

Fix “Requested icu-uc 50.1 but version of icu-uc is” error on DirectAdmin

by Thạch Phạm
Published: Last Updated on

In using DirectAdmin in general or other web control panels in particular, we will sometimes encounter many problems. And today, I’m trying to install PHP 7.4 for my DirectAdmin VPS, I get the following error:

Requested icu-uc 50.1 but version of icu-uc is

So in this article, AZDIGI will show you how to fix the “Requested icu-uc 50.1 but version of icu-uc is” error.

I. Cause

The reason why you can’t install PHP 7.4 is that your icu-uc version is too low, not reaching the recommended version level of 50.1. The only fix is to upgrade icu-uc.

II. Fix “Requested icu-uc 50.1 but version of icu-uc is” error on DirectAdmin

To fix the “Requested icu-uc 50.1 but version of icu-uc is” error, follow these 4 steps.

Step 1: SSH into your DirectAdmin system

To fix the error, we first need to SSH or access your VPS/server with root privileges. If you do not know how to SSH into your VPS/Server, you can refer to the following tutorial:

After successfully SSH, we continue with step 2 to check if the currently installed CustomBuild version is appropriate.

Step 2: Check the CustomBuild version

To continue with the fixing process “Requested icu-uc 50.1 but version of icu-uc is”, we need to see if the version of CustomBuild being used is 2.0 or not. To check the version of CustomBuild you are using, please check out the following short tutorial:

In case your CustomBuild version is lower than 2.0 then you need to upgrade CustomBuild 1.x to 2.0 , you can check out the following tutorial:

Here is my CustomBuild version after the latest update:

Restrict access to phpMyAdmin DirectAdmin
My version is ver: 2530 so it is completely valid to fix the problem “Requested icu-uc 50.1 but version of icu-uc is”.

Step 3: Execute the commands to upgrade the icu-uc version with CustomBuild 2.0

To upgrade icu-uc, use the following commands:

AZDIGI Tutorial
cd /usr/local/directadmin/custombuild
./build update
./build icu

Explanation of the above commands:

  • Command 1: Move to custombuild directory.
  • Command 2: Update custombuild script.
  • Command 3: Install the latest icu-uc version.

The installation process is speedy and does not take too much time, even on low-configuration VPS.

Step 4: Check which version icu-uc is installed

After the installation is complete, we can recheck the icu-uc version with the following command:

AZDIGI Tutorial
php -i | grep "ICU version"

Here is my result.

Screen Shot 2020 09 09 at 4.15.14 PM
The ICU version has been upgraded to 64.2

So we have fixed the problem “Requested icu-uc 50.1 but version of icu-uc is” is complete. And you can install PHP 7.4 with your initial needs.

III. Summary

Through this article, AZDIGI hopes you have grasped how to upgrade the ICU version to the latest version with CustomBuild 2.0. Hope the article is useful to you.

Wishing you success.

See more useful articles about DirectAdmin at the following link:

If you need assistance, you can contact support in the ways below:

Đánh giá

Tham gia nhóm hỗ trợ Server - Hosting

Tham gia nhóm Hỗ trợ Server - Hosting & WordPress để cùng nhau hỏi đáp và hỗ trợ các vấn đề về WordPress, tối ưu máy chủ/server.

Tham gia ngay

Bài viết cùng chuyên mục

AZDIGI – Không chỉ là đơn vị hàng đầu trong lĩnh vực Web Hosting và Máy chủ, chúng tôi mong muốn mang lại những kiến thức bổ ích nhất và luôn cập nhật thường xuyên cho cộng đồng người đam mê thiết kế website, công nghệ,…

Vui lòng không sao chép nội dung nếu chưa xin phép. Designed and Developed by PenciDesign