Reputation
685
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
5 26
Impact
~45k people reached

Apr
8
awarded  Popular Question
Apr
2
answered PHP-FPM Primary script unknown, but SCRIPT_FILENAME is set correctly
Apr
2
revised PHP-FPM Primary script unknown, but SCRIPT_FILENAME is set correctly
added 29 characters in body
Apr
2
comment PHP-FPM Primary script unknown, but SCRIPT_FILENAME is set correctly
@MichaelHampton I already have the PHP version and general platform in my post which is seemingly all that's relevant to answer my question, but I'll add the other details to satisfy your request. To clarify, my question isn't on how to fix the problem, it's how to debug it. I don't expect that anyone would be able to immediately solve this without touching the box. The question is purely about PHP-FPM and what it needs to run properly. I'm not looking for someone to debug my permissions issues, just to explain how PHP-FPM works internally in this case.
Apr
2
comment PHP-FPM Primary script unknown, but SCRIPT_FILENAME is set correctly
@MichaelHampton The server config is spread out over 40 files, some of which are quite involved. There's a lot going on with this box. Fortunately, we can see the effective config from tcpdump between Nginx and PHP-FPM, so the actual Nginx config itself isn't relevant. My question is on what else causes this error outside of a file missing. Through more debugging since this post, I've also found that running PHP-FPM as root solves the problem, so I think the issue is definitely permissions related... I just need to figure out what else PHP-FPM needs, since the scripts themselves are 777.
Apr
2
asked PHP-FPM Primary script unknown, but SCRIPT_FILENAME is set correctly
Feb
25
awarded  Notable Question
Jan
12
comment websockets , loadbalancers and 64k ports
This post makes a ton of assumptions about how the application is built, and is basically inaccurate.
Jan
8
answered How to remove the path with an nginx proxy_pass
Dec
18
comment Windows 7 computer: “No internet access”, can browse internet, can remote into it, cannot activate office 2013, cannot join domain
Well, that doesn't make much sense. I suspect that in the course of reinstalling your drivers, something else was fixed. In any case, glad to hear you got it working.
Dec
18
asked Nginx directive for redis_connect_timeout doesn't work as expected
Dec
18
revised what does “low address bits are meaningless” mean?
Corrected formatting of code, fixed case and spelling
Dec
18
suggested approved edit on what does “low address bits are meaningless” mean?
Nov
17
awarded  Caucus
Nov
10
awarded  Nice Answer
Oct
29
comment Isolated development environment on Ubuntu
If this is just for development purposes, consider using Vagrant, which is a convenient way to control VM hosts such as VirtualBox or VMWare. It takes care of port forwarding, file synchronization, and some other stuff that is helpful during development.
Oct
14
comment Floppy power to PCI-E card in DL380 G5
@EvanAnderson If you're putting a PCI-E sound card in anything, especially a server, it's probably in a place where quality is important. Encoding servers for internet radio stations, for example.
Sep
28
comment Centos failing to upgrade bash
That solved the problem for me, thank you!
Sep
27
comment Nginx not sending auth headers when redirecting to a different domain
That's mostly true, but you can put the base64-decoded (and subsequently URL-encoded) value of the Authorization header in the URL for the Location response header used for redirection. http://user:pass@example.com I just can't find a good way to do this conditionally in an Nginx config file.
Aug
6
awarded  Popular Question