PHP mb_substr()调用未定义的函数
我在aws服务器上托管了我的zend apigility代码,在进行基本密码身份验证时,我发现mb_substr()函数未定义错误。我已经使用了PHP7.0.30和ubuntu 16.4。错误详细信息如下PHP mb_substr()调用未定义的函数,php,zend-framework,mbstring,php-7.0,Php,Zend Framework,Mbstring,Php 7.0,我在aws服务器上托管了我的zend apigility代码,在进行基本密码身份验证时,我发现mb_substr()函数未定义错误。我已经使用了PHP7.0.30和ubuntu 16.4。错误详细信息如下 [Wed Aug 29 13:42:43 2018] PHP Fatal error: Uncaught Error: Call to undefined function Zend\Crypt\Password\mb_substr() in /var/www/html/8181/ven
[Wed Aug 29 13:42:43 2018] PHP Fatal error: Uncaught Error:
Call to undefined function Zend\Crypt\Password\mb_substr() in
/var/www/html/8181/vendor/zendframework/zend-crypt/src/Password/Apache.php:128
Stack trace:
#0 /var/www/html/8181/vendor/zendframework/zend-authentication/src/Adapter/Http/ApacheResolver.php(165):
Zend\Crypt\Password\Apache->verify('admin', '$apr1$Wgw6JqIq$...')
在谷歌搜索之后,我对php.ini文件做了一些更改,只需删除php_mbstring和php_exif dll模块前面的分号。但我还是有同样的错误
;extension=php_interbase.dll
;extension=php_ldap.dll
extension=php_mbstring.dll #i have enable this and below one.
extension=php_exif.dll ; Must be after mbstring as it depends on it
;extension=php_mysqli.dll
;extension=php_oci8_12c.dll ; Use with Oracle Database 12c Instant Client
你能帮我解决这个问题吗
谢谢
Gopal R名称空间错误?在对php.ini进行更改后是否重新启动了服务器?@TsV此源代码在stage server中工作正常。@DirkScholten是的,我已重新启动服务器。@TsV您能给我一些关于名称空间的建议吗