在最高权限下执行相关命令
1)查看PHP配置
php --iniConfiguration File (php.ini) Path: /www/server/php/70/etcLoaded Configuration File: /www/server/php/70/etc/php.iniScan for additional .ini files in: (none)Additional .ini files parsed: (none)
2)重启服务
service php-fpm restartRedirecting to /bin/systemctl restart php-fpm.service
常见错误:
1) The Process class relies on proc_open, which is not available on your PHP installation.
将php.ini中disable_function 中将 proc_open、proc_get_status 去除并重启PHP