之前php使用yam安装的,所以还通过yum安装缺少的包:
yum install php-pecl-http.x86_ php-pecl-http-devel.x86_
之后重启php-fpm恢复正常。