This is note is only for mac OSXYou need to have pear and libsvm installed first ..brew install libsvmsudo pecl install -f svm now you need to edit php.ini and append extension=svm.sorestart you php server
安装此 PECL 扩展相关的信息可在手册中标题为 PECL 扩展的安装章节中找到。更多信息如新的发行版本、下载、源文件、 维护人员信息及变更日志等,都在此处: » https://pecl.php.net/package/svm
This is note is only for mac OSXYou need to have pear and libsvm installed first ..brew install libsvmsudo pecl install -f svm now you need to edit php.ini and append extension=svm.sorestart you php server