NUSOAP has an error in PHP5. Solution: "SoapClient: SoapClient () expectsparameter2tobearray"
Source: Internet
Author: User
In PHP5, NUSOAP has an error "SoapClient: SoapClient () expectsparameter2tobearray" PHPWarning: SoapClient () failed. booleangive NUSOAP has an error "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 ..
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.