Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

vincent15000's avatar

Namespace error with nginx and apache

Hello,

Do you already have experienced a namespace error with nginx or apache ?

I specify that the problem is not with Laravel, it's a private PHP framework. If you don't want to answer to my post, no problem ;).

FastCGI sent in stderr ... while reading response header from upstream.

It works fine on another computer (other developer). Perhaps I need some extra PHP package or nginx package ?

I have compared several forum to find out what's wrong, but I don't have found any solution.

Do you have any idea ?

Thanks for your answer.

Vincent

0 likes
3 replies
jlrdw's avatar
jlrdw
Best Answer
Level 75

Check your error logs for more detail. Sounds like some files are in a wrong folder, but not sure.

1 like
vincent15000's avatar

The same source code works fine with no problem on another computer.

Somebody told me that it could be a problem with the configuration of nginx. But I don't know how to solve this. I had a look at the way how to configure nginx to be case insensitive, but I don't have found how to do that.

vincent15000's avatar

The solution is that the framework is using exclusively Apache and generates .htacceess file necessary to work.

Please or to participate in this conversation.