Question

I have tried to install the mbstring module for PHP. I have entered the below commands:

yum install php-mbstring
/usr/local/apache/bin/apachectl restart

Module is now installed but the errors has not dissapeared.

Fatal error: Call to undefined function mb_send_mail() 

In my phpinfo(), "mbstring" doesn't exist...

OS: centos 6 PHP: 5.3.8

Was it helpful?

Solution

How did you install PHP on your system? The PHP version currently supported via YUM install is 5.3.3, but you said your PHP version is 5.3.8 which leads me to believe that you may have compiled PHP manually. If so, you will have to recompile with the --enable-mbstring flag.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top