我正在尝试使用 nusoap,但不断收到错误消息,提示我需要启用肥皂扩展
我以前从未使用过肥皂或 nusoap。
我使用的是安装了 PHP 并可以正常工作的 Mac。
我想安装soap,但据我所知,这意味着我需要重建并重新安装PHP,所以我选择使用NuSOAP,因为看起来我不需要经历相同的过程。
基本上我使用以下语句来包含 NuSOAP,
require_once('nusoap.php');
这可以工作,但是当我尝试进行调用时,我收到以下错误:
“此客户端库需要激活 SOAP 扩展。”
使用 NuSOAP 时是否仍需要重建并重新安装 PHP?
我是 SOAP 的新手,因此我希望以阻力最小的方式开始学习它。
谢谢
I have never used soap or nusoap before.
I am using a mac with PHP installed and working.
I wanted to install soap but from what I could see if would mean I need to rebuild and reinstall PHP so I chose to use NuSOAP as it appeared I didn't need to go through the same process.
Basically I use the following statement to include NuSOAP
require_once('nusoap.php');
this works but when I try to make a call I get the following error:
'this client library requires the SOAP extension to be activated.'
Do I still need to rebuild and reinstall PHP when using NuSOAP?
I am new to SOAP so I want the path of least resistance to get going and start learning it.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果错误消息告诉您需要 SOAP 扩展,那么我建议您尝试安装 SOAP 扩展。
这里有更多信息建议/推荐您安装 SOAP 扩展:
如何启用肥皂扩展
If the error message tells you that you need the SOAP extension, then I'd suggest that you try installing the SOAP extension.
There is more information here that suggests/recommends that you install the SOAP extensions:
How to enable soap extensions