// wordpress & cpanel how-tos
How to enable the PHP mbstring extension in cPanel
Many site owners need to enable the PHP mbstring extension after moving to a new server. Your host should have it on already, but if it doesn't, you can usually turn it on yourself in cPanel.
The error
WordPress and many plugins use the mbstring PHP extension to handle text in different languages. When it's missing, you get an error that names the extension, for example:
Please enable PHP mbstring extension on your server.
How to enable mbstring in cPanel
Most cPanel hosts let you enable the extension yourself. Log in to cPanel and find the icon called Select PHP Version, PHP Selector, PHP Configuration or PHP Settings. The name depends on how your host has set up the server.
On that page you'll see a list of PHP extensions with checkboxes. Find mbstring (press Ctrl+F on Windows or Cmd+F on a Mac to search the page), tick it and save. The position of the extension in the list isn't the same on every server.
Don't tick every extension while you're there. You only need the ones your site uses, and enabling others can break functions on your site and cause more problems.
If the option isn't there
Unfortunately, not every cPanel account has this option, because the host's administrator decides whether customers can change PHP extensions. If you can't find it, contact your host's support and they will enable mbstring for you.
You'll find tutorials that tell you to run commands to install mbstring yourself, which works on a VPS. If you're not familiar with server settings, ask a professional first: running scripts you don't understand can make things worse, and some of them can even be malicious.
FAQ
What is the PHP mbstring extension?
Mbstring (multibyte string) is a PHP extension that handles text with multibyte characters, such as accented letters, Arabic or Chinese. WordPress and many plugins use it, so it's enabled on most good hosts by default.
Where is Select PHP Version in cPanel?
It's usually in the Software section of cPanel. Some hosts call it PHP Selector, PHP Configuration or PHP Settings. If it's not there, your host manages PHP extensions for you, so ask its support to enable mbstring.