PHP7扩展将无法安装

时间:2017-03-17 14:48:22

标签: php ubuntu-16.04 php-7

我正在尝试通过

安装mailparse扩展
phpize
make
make install

也可以通过

pecl install mailparse

但我不断收到需要mbstring的错误,该错误已安装并启用。

我收到此错误:

 #error The mailparse extension requires the mbstring extension!
  ^
Makefile:200: recipe for target 'mailparse.lo' failed
make: *** [mailparse.lo] Error 1
ERROR: `make' failed

php -i | grep mbstring

/etc/php/7.0/cli/conf.d/20-mbstring.ini,
Zend Multibyte Support => provided by mbstring
mbstring
mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.
mbstring.detect_order => no value => no value
mbstring.encoding_translation => Off => Off
mbstring.func_overload => 0 => 0
mbstring.http_input => no value => no value
mbstring.http_output => no value => no value
mbstring.http_output_conv_mimetypes => ^(text/|application/xhtml\+xml) => ^(text/|application/xhtml\+xml)
mbstring.internal_encoding => no value => no value
mbstring.language => neutral => neutral
mbstring.strict_detection => Off => Off
mbstring.substitute_character => no value => no value

PHP版本:

PHP 7.0.15-0ubuntu0.16.04.4(cli)(NTS) 版权所有(c)1997-2017 PHP小组 Zend Engine v3.0.0,版权所有(c)1998-2017 Zend Technologies     与Zend OPcache v7.0.15-0ubuntu0.16.04.4,版权所有(c)1999-2017,作者:Zend Technologies

有关如何安装的任何想法?

0 个答案:

没有答案