wget http://www.ftphp.com/scws/down/scws-1.2.0.tar.bz2
tar jxf scws-1.2.0.tar.bz2
cd scws-1.2.0
./configure --prefix=/opt/scws
make && make install
cd phpext/
/opt/php-5.3.8/bin/phpize
./configure --with-scws=/opt/scws --with-php-config=/opt/php-5.3.8/bin/php-config
make && make install
vim /opt/php-5.3.8/etc/php.ini
extension = "scws.so"
/etc/init.d/php-fpm restart
本文出自 “趙海華_運維之路” 博客,請務必保留此出處http://baiying.blog.51cto.com/1068039/999269