我们写了一个WordPress的采集插件WP-JPost,插件中需要使用到PHP_mbstring的扩展。

https://jiloc.com/wp-jpost

下面我们记录一下如何在php环境中支持mbstring扩展。

Linux

Centos:

yum install php-mbstring

Debian

apt-get install php-mbstring

Windows:

一般来说windows环境下扩展已经安装好,我们只需要在php.ini的配置中查找到对应行数将前面的分号;去掉即可:

将它改成:

extension=mbstring

保存重启对应的web服务器即可。

评论

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注