title: Composer Install - requires ext-mbstring
body: <p>I am trying to do a <code>composer install ...</code>, but getting an error of <code>requires ext-mbstring * -&gt; the requested PHP extension mbstring is missing from your system.</code> I am using Apache (Cpanel) and PHP 5.6.</p>
  
  <p>Below are the ways I am trying to fix the error.</p>
  
  <p>1: <code>yum search mbstring</code></p>
  
  <pre><code>============================================= N/S matched: mbstring =============================================
  ea-php54-php-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling
  ea-php55-php-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling
  ea-php56-php-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling
  ea-php70-php-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling
  ea-php71-php-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling
  ea-php72-php-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling
  rh-php56-php-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling
  rh-php70-php-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling
  rh-php71-php-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling
  </code></pre>
  
  <p>2: <code>yum install ea-php56-php-mbstring.x86_64</code></p>
  
  <pre><code>Loaded plugins: fastestmirror, universal-hooks
  Loading mirror speeds from cached hostfile
   * EA4: 110.4.45.120
   * cpanel-addons-production-feed: 110.4.45.120
   * base: ftp.cuhk.edu.hk
   * centosplus: ftp.cuhk.edu.hk
   * epel: ftp.cuhk.edu.hk
   * extras: ftp.cuhk.edu.hk
   * ius: hkg.mirror.rackspace.com
   * updates: ftp.cuhk.edu.hk
  Package ea-php56-php-mbstring-5.6.35-1.1.5.cpanel.x86_64 already installed and latest version
  Nothing to do
  </code></pre>
  
  <p>It seems mbstring is installed but why I got an error when I try to composer install?</p>
  
  <p>Another way (update PHP version in cPanel)</p>
  
  <p>1: WHM - already set to 7.1</p>
  
  <p><a href="https://i.stack.imgur.com/SeJ8f.png" rel="noreferrer"><img src="https://i.stack.imgur.com/SeJ8f.png" alt="enter image description here"></a></p>
  
  <p>2: cPanel - already set to 7.1</p>
  
  <p><a href="https://i.stack.imgur.com/AwRoL.png" rel="noreferrer"><img src="https://i.stack.imgur.com/AwRoL.png" alt="enter image description here"></a></p>
  
  <p>but version in server still 5.6</p>
  
  <p><a href="https://i.stack.imgur.com/Zn1MN.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Zn1MN.png" alt="enter image description here"></a></p>
  
  <p>Any suggestions to resolve <code>require ext-mbstring</code> error?</p>