Nusoap error in PHP5 "Soapclient:soapclient () expects parameter 2 to be array" solution idea

Source: Internet
Author: User
Tags soap
Nusoap error in PHP5 "Soapclient::soapclient () expects parameter 2 to be array"
PHP warning:soapclient::soapclient () expects parameter 2 to BES array, boolean given in aaa.php on line 61
PHP Fatal error:soapclient::soapclient (): Invalid parameters in aaa.php on line 61

The reason is that Nusoap's soapclient class has conflicts with PHP5 's built-in soap classes.

Solution Solutions

1. Modify php.ini does not load PHP5 built-in SOAP extensions (Windows is Php_soap.dll).

2. There is also a renaming of the SoapClient class for Nusoap.

3. Use PHP4 as well


2,3 Ignore, 1 words virtual host set not,, ask can use code to realize not???

------Solution--------------------
I will, knot paste.
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.