PHP function unavailable - APACHE compilation configuration may be skipped

I just switched from a public hosting environment to a dedicated service and, while testing my code, I found that some PHP functions are not available:

Fatal error: Call to undefined function mb_strtoupper()

I have full access to WHM and I can recompile PHP with a bunch of options. Being new to this, I felt it was better to leave options that I am not familiar with, as their default settings.

PHPINFO () claims that version 5.2.9 and APACHE 2.2 are running.

I missed the option when configuring APACHE - is there something I need to enable in order to get full access to the PHP functions?

+3
source share
1 answer

, serverfault.com

, , , mb

, php --enable-mbstring

+5

Source: https://habr.com/ru/post/1782088/