• Resolved jrohr

    (@jrohr)


    Dear all, after enabling APC and adding the needed stanza to the nginx configuration the nginx configuration, I get the dreaded “bad gateway” screen.

    I see from the stanza that something is supposed to be listening on port 9000. But what? APCU seems to be entirely implemented as a php module, isn’t it? What external daemon is needed? The description of php-apcu suggests that none is needed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You mean the line fastcgi_pass 127.0.0.1:9000;? This is where your PHP deamon is running. If you use another port or a unix socket, you need to adjust that line accordingly.

    Thread Starter jrohr

    (@jrohr)

    Found it out in the meantime and I changed it to the socket I use, yet I still get the bad gateway error, which kind of surprises me.

    Why do I have to specify fastcgi_pass here anyway, as it already has a site wide value?

    Thread Starter jrohr

    (@jrohr)

    yeah, sorry, issues with my local config. but also that I probably not clearly understand how the different nginx configurations relate to each other.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘bad gateway with APC’ is closed to new replies.