Home  >  Article  >  Backend Development  >  Fatal error Class 'SoapClient' not found in ...错误处理办法

Fatal error Class 'SoapClient' not found in ...错误处理办法

WBOY
WBOYOriginal
2016-06-20 13:02:371482browse

近日一项目中需要使用php调用web service接口进行开发,研究了一番之后自己写了个例子运行了一下,没想到很不给力的是直接给我来了个 Fatal error Class 'SoapClient' not found in... 错误。

由于SoapClient类是服务器系统自带的一个模块,现在报这个错误,很明显的是这个服务没有启动了,那就启动相关服务吧,不用说必定是要对php.ini这个文件开刀了,搜索关键词soap,很快就找到了;extension=php_openssl.dll这么一行,不用说,去掉前面的";"重启apache服务器,再次运行一下,Fatal error Class 'SoapClient' not found in... 这个错误终于不再报了,问题就这么解决了。


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn