Display: Call to undefined function Yii\helpers\mb_strlen ()
PHP.ini in Mb_string has been opened, with the php-m display is open
Should not be an extension library path issue, because mysqli is not a problem to use.
Now puzzled there apart from the problem!
PS: The same URL, why Firefox can display PHP page, chrome directly download this page?
页面就一个ECHO而已。
Reply content:
Display: Call to undefined function Yii\helpers\mb_strlen ()
PHP.ini in Mb_string has been opened, with the php-m display is open
Should not be an extension library path issue, because mysqli is not a problem to use.
Now puzzled there apart from the problem!
PS: The same URL, why Firefox can display PHP page, chrome directly download this page?
页面就一个ECHO而已。
See if this function is disabled in php.ini.
Call to undefined function yii\helpers\mb_strlen()从这句可以看出你没有使用扩展提供的函数,而是默认试用了yii框架提供的,没认真用过yii,建议排查下。关于页面下载的问题,这一般都是服务器配置问题。如果你的Webserver是Nginx,那就要配置fastcgi项,具体请Google,不做赘述。