hightman / scws

开源免费的简易中文分词系统,PHP分词的上乘之选!
http://www.xunsearch.com/scws/
Other
1.66k stars 348 forks source link

scws编译没问题,测试也没问题,php7.0扩展编译安装都正常,但是phpinfo里出不来 #46

Closed mountainguan closed 6 years ago

mountainguan commented 6 years ago

scws编译没问题,测试也没问题,php7.0扩展编译安装都正常,但是phpinfo里出不来

lucus-lee commented 6 years ago

碰到同样问题了 php 7.1.20

mountainguan commented 6 years ago

@lengyuan 目测已经没人维护了,我试了一下php7.0可以使用那个叫pscws4的php实现版插件,性能好像低一些。或者直接用shell()方法封装命令行功能

askie commented 6 years ago

php7的扩展无法安装

Timandes commented 6 years ago

可否贴下php.ini相关配置?php -m的结果?以及版本信息?

askie commented 6 years ago

[PHP Modules] bcmath Core ctype curl date dom fileinfo filter ftp gd hash iconv json libxml mbstring mcrypt mysqli mysqlnd nsq openssl pcre PDO pdo_mysql pdo_sqlite Phar posix readline redis Reflection session SimpleXML SPL sqlite3 standard swoole tokenizer xml xmlreader xmlwriter zlib

[Zend Modules]

mountainguan commented 6 years ago

I finally get it work. Using ./configure --prefix=/usr/local/scws ; make ; make install after phpize.