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

judev's avatar
Level 1

[SERVER] 500 error after login

After moving my project to another server, i got an 500 internal error on my page called 2fa.php.

I have already solved this bug ont time on giving file permission but now if i want to give file permission or anything i'm gotting 500 internal error after log in.

On nginx configuration file i don't have any info. just the method that used and error code 500:

127.0.0.1 - - [09/May/2020:20:44:56 +0300] "GET /2fa.php HTTP/1.1" 500 11 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36"

Ok now on the error.log nginx :

thrown in /var/www/chronic/2fa.php on line 27" while reading response header from upstream, client: 127.0.0.1, server: , request: "GET /2fa.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.3-fpm.sock:", host: i don't know what is it

So i don't know what i need to do.

This error is not normal because nginx don't give the html page error, i just can see the error in the console debug.

I'm using fluxBB Forum.

[php, server, internal-server-error, mybb]

0 likes
1 reply
judev's avatar
judev
OP
Best Answer
Level 1

Ok problem is this 2020/05/09 20:58:55 [error] 17424#17424: *8 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Class 'gnupg' not found in /var/www/chronic/2fa.php:27 I have already gnupg installed but them need gnupg me i think so i will install it first

Please or to participate in this conversation.