116 reputation
4
bio website stackoverflow.com/users/…
location Scandinavia
age 31
visits member for 2 years, 10 months
seen Dec 5 at 22:22

Programmer (currently mostly in PHP, JavaScript, C++ and Java) at a web shop.


Nov
22
comment “No input file specified” when running php under fastcgi inside chroot under nginx outside of chroot
Well, no... I didn't forget to translate to chrooted path. In fact, I did just that, and it would have worked if I hadn't made two errors. One of them was fixed either by setting a new root (which I had tried but that didn't work because of another error), or omitting the include or moving the include to the top of my location block. But the real culprit was that I mixed up SCRIPT_NAME and SCRIPT_FILENAME. So, long story short: I mixed up SCRIPT_NAME/SCRIPT_FILENAME and had some issues with my variables being overridden by the non-chrooted path.
Nov
22
awarded  Teacher
Nov
20
awarded  Student
Nov
20
asked “No input file specified” when running php under fastcgi inside chroot under nginx outside of chroot
Nov
20
answered “No input file specified” when running php under fastcgi inside chroot under nginx outside of chroot
Jun
12
awarded  Supporter
Feb
29
awarded  Autobiographer