...'2688' dateline='1291049346'] 词库没有正确加载,你检查一下 /usr/local/scws/etc/ 下的 .xdb 的文件属性,默认.tar.bz2 解开有可能是600,建议 chmod a+r /usr/local/scws/etc/* [/quote] 非常感谢,被这个问题折磨了1天,原来是权限问题
...Master Value scws.default.charset => utf8 => utf8 scws.default.fpath => /usr/local/scws/etc => /usr/local/scws/etc
...是0755 但是连接出现 Fatal error: Uncaught [XSException] ../../../usr/local/hush/sdk/php/lib/XS.php(2177): Permission denied(C#13) thrown in /usr/local/hush/sdk/php/lib/XS.php on line 2177 chown -R www:www后则正常连接了
...eebsd8.2里安装php的扩展出现 checking for scws.h... yes, found in /usr/local/scws checking for scws_new in -lscws... no configure: error: Incorrect scws library 有没有遇到过这种情况,, cd phpext/ phpize ./configure --with-scws=/usr/local/scws ..... configure: error: In...
...到 scws 的相關訊息, 產生的 scws.so 檔案大小如下 # ls -l /usr/local/php5/lib/php/extensions/no-debug-non-zts-20090626 -rwxr-xr-x 1 root root 235919 7月 11 07:07 memcache.so -rwxr-xr-x 1 root root 72844 7月 16 14:26 scws.so -rwxr-xr-x 1 root root 117220 7月 15 00:13 sphinx....
... attr_en : attr_un); // modified by hightman[hr] [root@estar scws-1.1.5]# /usr/local/bin/scws -A -d "/usr/local/scws/etc/dict.xdb" "LG集团5.3%" LG/en 集团/n 5.3/en %/un +--[scws(scws-cli/1.1.5)]----------+ | TextLen: 10 | | Prepare: 0.0002 (sec) | | Segment: 0.0002...
.configure --prefix=/usr/local/scws 运行 之后,前面看起来都很正常,最后部分出问题了 ----------------------------- checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sa...
...php.com/scws scws.default.charset => utf8 => utf8 scws.default.fpath => /usr/local/scws/etc => /usr/local/scws/etc [/code] 2. 测试 PHP代码 [code] [hightman@d1 hightman]$ cat 1.php
/usr/local/php/bin/php /usr/local/xunsearch/sdk/php/util/Indexer.php --rebuild --source=mysql://root:123456@127.0.0.1/test --sql="select * from pw_record" --project=record 以上是默认mysql 端口号为3306 导入命令 但是, 现在我的mysql 端口号是6630 在--source=mysql://roo...
mmbb:/usr/src/scws-0.0.1-pre/src# valgrind --tool=memcheck --leak-check=yes ./scwsc -r ../etc/rules.ini -d ../etc/dict.xdb -i "有用过NTFS的朋友抱怨" ==30624== Memcheck, a memory error detector. ==30624== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al. ==30624== Using LibVE...