My server environment is: centos6.8+nginx1.1+php7.1+mysql5.6, Moodle installed after all need to send mail (local registration, modify the password and so on.) have reported a 502 error, php-fpm process exit, The same configuration is successful on another computer;
php-fpm.log: