centosPHP配置文件路径: /etc/php.ini 修改完配置文件后需要重启php服务: systemctl restart php-fpm 转载于:https://www.cnblogs.com/ryanzheng/p/9156549.html