首页 \ 问答 \ 绝对值符号怎么打出来?

绝对值符号怎么打出来?

更新时间:2022-11-10 18:11

最新回答

nginx配置:
server{
    #...其他location略
    location ~* \.php$ {
      fastcgi_pass   127.0.0.1:9000;
    }
}PHP的fastcgi监听9000端口
php-cgi -b 9000
nginx解析静态文件比apache要好

解析php,nginx一般通过fastcgi进行,apache的php模块解析要优于fastcgi,更稳定
如果只是自己用来测试,nginx+php就可以
如果需要高度的稳定性,可以采用nginx做负载均衡,后端配置多台apache+php

相关问答

更多