Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/256.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
PHP mb_substr()调用未定义的函数_Php_Zend Framework_Mbstring_Php 7.0 - Fatal编程技术网

PHP mb_substr()调用未定义的函数

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

我在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/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您能给我一些关于名称空间的建议吗