安装
安装此 PECL 扩展相关的信息可在手册中标题为 PECL 扩展的安装章节中找到。更多信息如新的发行版本、下载、源文件、 维护人员信息及变更日志等,都在此处: » https://pecl.php.net/package/svm

User Contributed Notes 1 note
veshraj dot joshi1 at gmail dot com ¶
4 years ago
This is note is only for mac OSX
You need to have pear and libsvm installed first ..
brew install libsvm
sudo pecl install -f svm
now you need to edit php.ini and append
extension=svm.so
restart you php server