php安装soap模块

#cd php-5.2.8/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
 

你可能感兴趣的:(apache,PHP,ext,SOAP)