美文网首页
lnmpp集成环境常用命令

lnmpp集成环境常用命令

作者: iscona | 来源:发表于2016-12-21 13:45 被阅读0次
    1. php重启
      service lnmpp phpfpm reload
    2. nginx重启
      service lnmpp nginx reload
    3. pathinfo设置
     location ~ ^(.+.php)(.*)$ {
       fastcgi_index index.php;
       fastcgi_split_path_info ^(.+\.php)(.*)$;
       fastcgi_param PATH_INFO $fastcgi_path_info;
       client_max_body_size 64m;
       include        fastcgi_params;
       fastcgi_pass   unix:/opt/atphp/var/sock/i.odata.cc.socket;
       fastcgi_param  SCRIPT_FILENAME  /vhost/i.odata.cc$fastcgi_script_name;
    

    ``

    相关文章

      网友评论

          本文标题:lnmpp集成环境常用命令

          本文链接:https://www.haomeiwen.com/subject/dvjqvttx.html