我刚用godaddy切换到cpanel服务器。我与 pspell 完全集成,并且运行良好。现在我收到以下错误
Warning: pspell_new(): PSPELL couldn't open the dictionary. reason: No word lists can be found for the language "en".
这是我的代码
$pspell_config = pspell_config_create("en");
pspell_config_personal($pspell_config, "/home/user/public_html/custom.pws");
pspell_config_repl($pspell_config, "/home/user/public_html/custom.repl");
$pspell_link = pspell_new_config($pspell_config);
error_reporting(E_ALL);
@ini_set('display_errors', 1);
// Call it once first because of a bug in Windows' Aspell.
pspell_new('en');
$test = pspell_new('en');
echo '
Testing pspell.... ', pspell_check($test,'thisisnotawordandyouknowit') ? 'failure' : 'pass', '.<br />
If no error messages were displayed, Aspell is installed and working properly.';
如何在我的服务器上找到语言文件或对其进行测试?我打电话给godaddy,他们说aspell 已设置,我测试我的php,它说pspell 已启用。