>>851
ソースの上の方に↓の一行を追加すればOK

ini_set('default_socket_timeout', 10);