View previous topic :: View next topic |
Author |
Message |
yango Tux's lil' helper
Joined: 09 Nov 2020 Posts: 78
|
Posted: Mon Jan 13, 2025 12:20 am Post subject: Nginx php-fpm database internal server error |
|
|
Hello
I was actualizing my server to use php 8.2 alongside php 8.1 as a socket, I have recompiled and made some changes. Now every time that I try to get into a php based webpage I get the message:
Code: | Internal server error |
New and clean php based webpages function Ok, the problem arises with old websites that used to function with that same php version
For now I'm doing tests with Php 2.2.24 and Nginx 1.26.2-r8
Is this because some saved cache?
How can I have more detailed error messages with Nginx? currently I'm using and checking this file:
Code: | error_log /var/log/nginx/localhost.error_log debug; |
Last edited by yango on Mon Jan 13, 2025 1:06 am; edited 1 time in total |
|
Back to top |
|
|
yango Tux's lil' helper
Joined: 09 Nov 2020 Posts: 78
|
Posted: Mon Jan 13, 2025 1:05 am Post subject: |
|
|
I've checked roundcube logs, is something with database connection from MySQL and PostgreSQL:
Code: |
Is the server running on that host and accepting TCP/IP connections? in /roundcube/program/lib/Roundcube/rcube_db.php on line 201 (GET /)
[13-Jan-2025 00:58:18 +0000]: <39qpq5qv> DB Error: SQLSTATE[08006] [7] connection to server at "localhost" (::1), port 5432 failed: Connection refused
Is the server running on that host and accepting TCP/IP connections?
connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused
|
|
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22984
|
Posted: Mon Jan 13, 2025 1:52 am Post subject: |
|
|
That message looks like a good hint. Did you check whether the message is correct, that there is no database server running at that location? |
|
Back to top |
|
|
|