原因:fsockopen 被禁用 解决:解开禁用 方法:vi /usr/local/php/etc/php.ini 搜索 disable_functions, 删除里面的 fsockopen 。 之后重启服务器 ~/lnmp reload