首页 > 代码库 > php调用webservice报错Class 'SoapClient' not found

php调用webservice报错Class 'SoapClient' not found

原文: php调用webservice报错Class 'SoapClient' not found

      php在调用webservice时,报告如下类似错误:

 

         ( ! ) Fatal error: Class ‘SoapClient‘ not found in E:/WebSrv/CI/system/libraries/WebService.php on line 17

 

    解决方法:

   打开php.ini,找到php_soap.dll把前面的分号去掉

 

    ;extension=php_soap.dll

 

    前提是,已经安装了php_soap.dll

php调用webservice报错Class 'SoapClient' not found