Plesk installation on RHEL failed: php-mbstring is missing

Created:

2016-11-16 12:55:07 UTC

Modified:

2017-04-24 11:14:15 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Plesk installation on RHEL failed: php-mbstring is missing

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux

Symptoms

Plesk installation on RedHat Enterprise Linux failed with the following message:

Exception: Failed to solve dependencies:
php-mbstring-5.4.16-23.el7_0.3.x86_64 requires php-common(x86-64) = 5.4.16-23.el7_0.3

ERROR: The Yum utility failed to install the required packages.
Attention! Your software might be inoperable.

Or:

Exception: Failed to solve dependencies:
php-imap-5.3.3-46.el6_6.x86_64 requires php-common(x86-64) = 5.3.3-46.el6_6
php-mbstring-5.3.3-46.el6_6.x86_64 requires php-common(x86-64) = 5.3.3-46.el6_6

ERROR: The Yum utility failed to install the required packages.
Attention! Your software might be inoperable.

Cause

The php-mbstring and php-imap is a part of RedHat's server optional packages repository, which is not enabled by default.

Resolution

  1. Enable optional packages repository using:

for RHEL 7:

    # subscription-manager repos --enable=rhel-7-server-optional-rpms

for RHEL 6:

    # subscription-manager repos --enable=rhel-6-server-optional-rpms

**Note**: This command can give error output but repo should be enabled. For additional details refer to RedHat article: https://access.redhat.com/solutions/265523
  1. Check that repository is enabled:

    # yum repolist all
  2. Re-run Plesk installation.

Have more questions? Submit a request
Please sign in to leave a comment.