1、编辑 :/usr/local/php/etc/php.ini,查找:disable_functions ,将里面的 fsockopen 去掉;

2、执行: /etc/init.d/php-fpm restart