设置:
ini_set('default_socket_timeout', 600); // or whatever new value you want
参考:http://stackoverflow.com/questions/9403486/error-fetching-http-headers-in-soapclient