Fatal error: Class ‘SoapServer’解决办法

in 网络编程

第一次配置PHP Web Service,在没有WSDL文件的模式下

程序如下:

$server = new SoapServer(null, array(‘uri’ => “http://test-uri/”));
$server = addclass(‘add_account’);
$server = handle();
出现Fatal error: Class ‘SoapServer’之类的错误,只需要在Apache上安装PHP和SOAP package,并且在php.in里面添加
extension=php_soap.dll

0 Comments

Leave a Reply

You must be logged in to post a comment.

Using Gravatars in the comments - get your own and be recognized!

XHTML: These are some of the tags you can use: <a href=""> <b> <blockquote> <code> <em> <i> <strike> <strong>