1:启动php-fpm

/usr/loca/php-fpm/sbin/php-fpm

2:配置nginx

location ~ \.php$ {
root /opt/ganglia;

fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
#fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
#include fastcgi_params;
include fastcgi.conf;
}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-23
  • 2021-09-02
  • 2022-02-22
猜你喜欢
  • 2021-12-27
  • 2021-12-28
  • 2021-08-29
  • 2021-04-13
  • 2021-08-24
  • 2021-07-24
相关资源
相似解决方案