php安装soap模块
#cd php-5.2.13/ext/soap
#/usr/local/php/bin/phpize
#./configure --with-php-config=/usr/local/php/bin/php-config
--enable-soap
#make
#make install
编译后的soap.so
文件保存在了/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613
目录下
修改php.ini
文件
手工修改:查找/usr/local/php/etc/php.ini
中的extension_dir = "./"
修改为extension_dir = "/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613"
并在此行后增加如下,然后保存:
extension = "soap.so"
重新启动apache
本文转自 holy2009 51CTO博客,原文链接:http://blog.51cto.com/holy2010/691902