Phpinfo显示错误的php处理程序信息


Phpinfo shows the wrong php handler info

我在cPanel WHM

中将php处理程序设置为 suphp

当我执行 /usr/local/cpanel/bin/rebuild_phpconf --current 它显示php处理程序为 suphp

但是当我检查phpinfo时显示 FPM/FastCGI

哪一个是正确的信息?

在我看来,两者都是正确的信息:

  • suPHP是你的CLI PHP处理程序(PHP通过你的终端执行)
  • FPM是你的"web"PHP进程的PHP处理器(PHP处理来自你的web服务器的HTTP请求)。