Giter Site home page Giter Site logo

FastCGI Primary script unknown about walle-web HOT 5 CLOSED

meolu avatar meolu commented on July 17, 2024
FastCGI Primary script unknown

from walle-web.

Comments (5)

meolu avatar meolu commented on July 17, 2024

php 监听用的是socket方式,还是端口?fastcgi_pass /var/run/php5-fpm.sock 是活跃的?

这个nginx 1.4版本有点低,不知道有没有什么兼容性问题

from walle-web.

xiyoulaoyuanjia avatar xiyoulaoyuanjia commented on July 17, 2024
  1. nginx 升级到了1.8了,还是不行
    $ /usr/sbin/nginx -v
    nginx version: nginx/1.8.0
    $

2.php 监听方式不管是socket, 9000端口都尝试了,还是不行.

from walle-web.

xiyoulaoyuanjia avatar xiyoulaoyuanjia commented on July 17, 2024

晕,可能还是权限的问题,最后搞定方式:

nginx , php 都是root 用户运行..

其中 php root 运行 修改 /etc/php5/fpm/pool.d/www.conf 文件
[www]
user = root
group = root

sudo php5-fpm -R

 

from walle-web.

meolu avatar meolu commented on July 17, 2024

亲,不建议用root哦,不安全,可以起一个nobody/www之类的来跑就好:)

from walle-web.

xiyoulaoyuanjia avatar xiyoulaoyuanjia commented on July 17, 2024

恩,这个是的,这里只是调试了下,感谢哈! 

from walle-web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.