T
T
TheMarser2015-05-07 08:41:15
PHP
TheMarser, 2015-05-07 08:41:15

How to enable mbstring on hosting?

Worth CPanel, PHP version 5.4.38. When installing one script, the error "Call to undefined function mb_internal_encoding()" got out. I began to look for the reason: the mbstring module was not loaded in php. The most interesting thing is that there are settings for this module in php.ini. How can this problem be solved?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Mokhov, 2015-05-07
@mokhovcom

contact the server administrators with a request to install mbstring

S
ShamblerR, 2015-05-13
@ShamblerR

there are a whole bunch of ways
1. .htaccess
This is the easiest way
If you have a php representation on the hosting as a FastCGI mod, then you need to write it already in php.ini
and it will look like this
3. way
If you do not have access to php.ini but really want to.
then We put it
in .htacces
and add it to /var/www/Your_site/web/php.ini

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question