yum -y install nginx
yum -y i php php-fpm

systemctl start nginx

systemctl start php-fpm

yum install php-bcmath
systemctl reload nginx.service
systemctl reload php-fpm.service

        location ~.php$ {
                try_files $uri = 404;
                root    /work/phpserver;
                fastcgi_pass 127.0.0.1:9000;
                fastcgi_index index.php;
                fastcgi_param SCRIPT_FILENAME    $document_root$fastcgi_script_name;
                include fastcgi.conf;
        }

  

相关文章:

  • 2022-12-23
  • 2021-05-17
  • 2021-09-21
  • 2021-12-25
  • 2021-12-31
  • 2021-04-26
  • 2022-12-23
猜你喜欢
  • 2019-09-02
  • 2021-11-12
  • 2022-12-23
  • 2021-06-26
  • 2021-09-19
  • 2022-01-22
相关资源
相似解决方案