search

Home  >  Q&A  >  body text

linux - nginx and php-fpm reported error "Primary script unknown"


I keep reporting this error when viewing it on the browser: nginx:*21 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream

The problem has been solved.
Mainly a problem with php-fpm permissions. Thank you everyone for actively answering my questions.

给我你的怀抱给我你的怀抱2721 days ago855

reply all(3)I'll reply

  • PHPz

    PHPz2017-06-05 11:11:34

    Thanks for the invitation

    Look at this: http://www.shuchengxian.com/a...

    The cause of each person’s problem may be different, so only if you post your configuration map can others analyze it for you

    Check again to see if this is the reason: http://www.netingcn.com/nginx...

    reply
    0
  • 怪我咯

    怪我咯2017-06-05 11:11:34

    Thank you for the invitation.

    If you can’t solve the problem in Baidu, please post your nginx configuration code

    reply
    0
  • 高洛峰

    高洛峰2017-06-05 11:11:34

    The problem has been solved. It's mainly a php-fpm permissions issue. Thank you everyone for actively answering my questions.

    reply
    0
  • Cancelreply