NUSOAP has an error in PHP5 "SoapClient: SoapClient () expectsparameter2tobearray"-php Tutorial

Source: Internet
Author: User
In PHP5, NUSOAP has an error "SoapClient: SoapClient () expectsparameter2tobearray" PHPWarning: SoapClient () expectsparameter2tobearray, booleangiveninaaa. phponline61 NUSOAP error in PHP5 "SoapClient: SoapClient () expects parameter 2 to be array"
PHP Warning: SoapClient () expects parameter 2 to be array, boolean given in aaa. php on line 61
PHP Fatal error: SoapClient (): Invalid parameters in aaa. php on line 61

The reason is that the SoapClient class of nusoap conflicts with the SOAP class built in php5.

Solution

1. modify php. ini and do not load the built-in soap extension of php5 (php_soap.dll in windows ).

2. you have also changed the name of the nusoap SoapClient class.

3. use php4 instead.


2, 3, ignore, 1, the virtual host cannot be set, ask if it can be implemented using code ???

------ Solution --------------------
I will. close the post ..

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.