...的编码都是utf8 还有就是如果我用 $so->set_dict('C:/Program Files/scws/etc/dict.xdb'); $so->set_rule('C:/Program Files/scws/etc/rules.utf8.ini'); 就会有警告: Warning: SimpleCWS::set_dict() [function.SimpleCWS-set-dict]: open_basedir restriction in effect. File(C:\Program Files...
...置都正确 phpinfo()信息 PHP Version 5.3.6RC3 Loaded Configuration File D:\php5\php.ini .... PHP.INI配置最后面也加了 [scws] extension=php_scws.dll scws.default.charset=gbk scws.default.fpath="C:\Program Files\scws\etc" 我的是win2003系统IIS6环境下,配置都正确,ph...
...置都正确 phpinfo()信息 PHP Version 5.3.6RC3 Loaded Configuration File D:\php5\php.ini .... PHP.INI配置最后面也加了 [scws] extension=php_scws.dll scws.default.charset=gbk scws.default.fpath="C:\Program Files\scws\etc" 我的是win2003系统IIS6环境下,配置都正确,ph...
...ing: SimpledCWS::set_dict() [simpledcws.set-dict]: Failed to load the dict file in D:\website\ dict_utf8.xdb 及 rules.utf8.ini 是放在test.php 同一個資料夾下 另有我試過用 $scws->set_dict('D:\website\dict_utf8.xdb'); 也有相同問題 請問PHP 設定是否特殊要求? ...
...s_set_dict() [function.scws-set-dict]: open_basedir restriction in effect. File(C:\Program Files\scws\etc\dict.utf8.xdb) is not within the allowed path(s): (D:/DedeAMPZ/WebRoot/Default) in D:\DedeAMPZ\WebRoot\Default\tld\dede\getwen.php on line 6 Warning: scws_set_rule() [function.scws-set-rule]: o...
... = scws_new(); $cws->set_charset('utf8'); $cws->set_rule('D:/Program Files/scws/etc/rules.utf8.ini'); //注意路径 $cws->set_dict('D:/Program Files/scws/etc/dict.utf8.xdb'); $cws->add_dict(ROOT_PATH."inc/spider/dict_extra.txt", SCWS_XDICT_TXT);//新增词库 $cws->set_ignore(true); ...
...p/extensions/no-debug-non-zts-20090626/dbase.so: cannot open shared object file: No such file or directory in Unknown on line 0 [PHP Modules] bz2 calendar ctype curl date exif ftp gettext gmp hash iconv libxml mime_magic openssl pcntl pcre posix pspell Reflection session shmop ...
配置文件不是问题啊, new XS('/path/to/file.ini'); 也可以的,XS 构造函数允许传入路径、文件内容都可以呢。
程序里面调用set_rule("d:\rule.ini"); 但是就算用从网站下载的rule文件,也还是报“Failed to load the ruleset file”。 怎么回事?
...sion 5.2.6 Zend Engine Version 2.2.0 Server API cgi-fcgi PHP Configuration File D:\Zend\Core\etc\php.ini Web Server Server Name localhost Server Software Apache/2.2.10 (Win32) OS Version Microsoft Windows