Did not receive a '200 OK' response from remote server.

在使用codeigniter的xmlrpc调用时,会报错,请在config.php文件中做如下配置:

 

 

//注意:当base_url配置为localhost时,在使用xmlrpc时会出错:Did not receive a '200 OK' response from remote server.
//$config['base_url']    = 'http://localhost/appbox/';
$config['base_url']    = 'http://192.168.1.125/appbox/';

 

 

你可能感兴趣的:(response)