We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
位置 93 行 /www/blog/vendor/yurunsoft/chinese-util/src/Chinese/FFIDriver.php } else { $library = "libchinese_util-php{$phpVersion}.so"; } } $library = $clibPath . '/' . $library; } $this->ffi = $ffi = PHPFFI::cdef(file_get_contents($clibPath . '/include.h'), $library); $ffi->init_chinese_util(); $dataPath = \dirname(DIR, 2) . '/data'; if (!$characterDataPath) { $characterDataPath = $dataPath . '/charsData.json'; } if (!$pinyinDataPath) { $pinyinDataPath = $dataPath . '/pinyinData.json'; } 这里 -> init_chinese_dict($characterDataPath, $pinyinDataPath); }
报错信息 Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR) Call to undefined function Yurun\Util\Chinese\init_chinese_dict()
环境 docker php-fpm 7.4.1 openresty 1.17
这个问题刷新几次页面就好了,时而好时而坏
The text was updated successfully, but these errors were encountered:
更新下php版本先,如果还有问题再反馈
Sorry, something went wrong.
No branches or pull requests
位置 93 行
/www/blog/vendor/yurunsoft/chinese-util/src/Chinese/FFIDriver.php
}
else
{
$library = "libchinese_util-php{$phpVersion}.so";
}
}
$library = $clibPath . '/' . $library;
}
$this->ffi = $ffi = PHPFFI::cdef(file_get_contents($clibPath . '/include.h'), $library);
$ffi->init_chinese_util();
$dataPath = \dirname(DIR, 2) . '/data';
if (!$characterDataPath)
{
$characterDataPath = $dataPath . '/charsData.json';
}
if (!$pinyinDataPath)
{
$pinyinDataPath = $dataPath . '/pinyinData.json';
}
这里 -> init_chinese_dict($characterDataPath, $pinyinDataPath);
}
报错信息
Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR)
Call to undefined function Yurun\Util\Chinese\init_chinese_dict()
环境
docker
php-fpm 7.4.1 openresty 1.17
这个问题刷新几次页面就好了,时而好时而坏
The text was updated successfully, but these errors were encountered: