@rryqszq4 臭宝~,Nginx 更新到了1.27.4 ,又不能编译了。 报错信息是 ngx_http_php_util.c:69:5: error: 'strncat' specified bound depends on the length of the source argument [-Werror=stringop-overflow=] 69 | strncat(result, replace, strlen(replace)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 我看 使用 snprintf 代替 strncat 我改个源码我先试,然后再提交