Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图为 PHP 安装 mbstring 模块。我输入了以下命令:
yum install php-mbstring /usr/local/apache/bin/apachectl restart
模块现已安装,但错误并没有消失。
Fatal error: Call to undefined function mb_send_mail()
在我的 phpinfo() 中,“mbstring”不存在...
操作系统:centos 6 PHP:5.3.8
你是如何在你的系统上安装 PHP 的?目前通过 YUM 安装支持的 PHP 版本是 5.3.3,但是你说你的 PHP 版本是 5.3.8,这让我相信你可能已经手动编译了 PHP。如果是这样,您将不得不使用该--enable-mbstring标志重新编译。
--enable-mbstring