NGINX配置PHP解析

NGINX配置PHP解析

<?php 
    phpinfo(); 
?>

NGINX配置PHP解析

        location ~ \.php$ {
            root           html;
            fastcgi_pass   127.0.0.1:9000;
            fastcgi_index  index.php;
            fastcgi_param  SCRIPT_FILENAME  usr/local/nginx/html$fastcgi_script_name;
            include        fastcgi_params;
        }

NGINX配置PHP解析

NGINX配置PHP解析

 

-------------------------------------------------------------

作者:罗穆瑞

转载请保留此段声明,且在文章页面明显位置给出原文链接,谢谢!

------------------------------------------------------------------------------

如果觉得这篇文章对你有小小的帮助的话,记得在右下角点个“推荐”哦,博主在此感谢!

------------------------------------------------------------------------------

上一篇:Knowledge point


下一篇:移植Alios Things 到STM32F103C8