已安装PHP mbstring,但无法识别

时间:2018-08-30 04:43:02

标签: php nginx centos mbstring

我在运行PHP 5.4的Centos 7上。我的网络服务器是Nginx。

我的nginx中的错误日志显示:

  

2018/08/30 04:07:18 [错误] stderr中发送了12342#0:* 403 FastCGI:“ PHP消息:PHP致命错误:未捕获的异常'Exception'和消息'Stripe需要多字节字符串PHP扩展名。”在/var/www/wordpress/wp-content/plugins/s2member-pro/src/includes/classes/gateways/strways/stripe/stripe-sdk/lib/Stripe.php:14

我已经使用以下命令安装了它。我重新启动了nginx,然后再次运行此命令只是为了确认它已安装。

# yum install php-mbstring
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.ash.fastserv.com
 * epel: ewr.edge.kernel.org
 * extras: mirror.vcu.edu
 * updates: ewr.edge.kernel.org
Nothing to do

知道为什么我仍然出现错误Stripe needs the Multibyte String PHP extension.吗?

我是否需要在nginx.conf中配置某些内容?

0 个答案:

没有答案
相关问题