mbstring

Status
Not open for further replies.

jensen

Active Member
Messages
1,168
Reaction score
22
Points
38
Was trying to run grav here at x10hosting and the message comes back

'mbstring' extension is not loaded. This is required for Grav to run correctly
What should be done next? Is this something we need to load? Or some permissions that one may have wrongly set?
 

bdistler

Well-Known Member
Prime Account
Messages
3,534
Reaction score
196
Points
63
Is this something we need to load?
S/B to enable the [ mbstring ] extension
at [ cPanel-x3 theme ] ( not x10hosting Basic) home page --> [ Software and Services ] --> [ Select PHP Version ] - set a checkmark at [ mbstring ]
be sure to click on [ Save ]

BUT
when I run this script
PHP:
<?php
error_reporting(E_ALL);

if (function_exists('mbstring'))
  {
    print "Function mbstring is enabled<br>\n<br>\n";
  }
  else
    {
      print "Function mbstring is not enabled<br>\n<br>\n";
    }

if (extension_loaded('mbstring'))
  {
    print "Extension mbstring is loaded<br>\n<br>\n";
  }
  else
    {
      print "Extension mbstring is not loaded<br>\n<br>\n";
    }

?>

I receive --> "Function mbstring is not enabled" and "Extension mbstring is loaded"
###

from the PHP Manual --> "mbstring is a non-default extension. This means it is not enabled by default. You must explicitly enable the module with the configure option."

the Admins need to resolve your issue
 

jensen

Active Member
Messages
1,168
Reaction score
22
Points
38
That was most helpful. Thanks.
Didn't think about writing a script just to test it out. You're good.
 

jensen

Active Member
Messages
1,168
Reaction score
22
Points
38
Problem solved:

Went to PHP version and changed it to 5.6 then found the "mbstring" unchecked. So I checked it and the website in great shape again.
Thanks to admin for looking into the matter and for bdistler who helped out.
 
Last edited:
Status
Not open for further replies.
Top