简体   繁体   中英

PHP :mbstring module install

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM