I am setting up my server with nginx, faced with this annoying issue. phpmyadmin is giving out 504 time out when logging in, even if I input wrong user credentials, it is showing 504 time out error. my error log:
2021/10/29 09:46:48 [error] 154019#154019: *6670 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 122.178.182.104, server: localhost, request: "POST /phpmyadmin/index.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock", host: "54.152.202.60"
Also, increasing the timeout value does not solve this error.
location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
please help, thanks!
source https://stackoverflow.com/questions/69772883/phpmyadmin-504-timeout-when-logging-in
Comments
Post a Comment