Answer the question
In order to leave comments, you need to log in
How to make nginx not throw phpmyadmin 504 error when uploading a large file?
I set up ispmanager, installed nginx with it, my web server works as Apache MPM-ITK, and I also use the PHP-FPM FastCGI process manager
. weighs 32 megabytes (the database itself is ~ 200Mb)
But when loading such a seemingly small file (with an available limit of 80 Mb) - my phpmyadmin crashes with the error "504 Gateway Time-out, nginx/1.10.1"
Investigating this topic further, I found out that Nginx can't get a response from the PHP-FPM service long enough. To get rid of this error, I tried to raise the timeout.
I found that it is possible to configure nginx parameters for a single domain (for this, in ispmanager as root, in the list of domains, you can click on "Config")
I entered the fastcgi_read_timeout 600 parameter in the location @php section;
after restarting nginx from the console with the command , the service nginx restart
result remained the same.
Something tells me that I have set the timeout for the domain, but most likely these settings do not apply to phpmyadmin and it needs to be configured separately (which is translated into Russian as "doubts").
Dear All, how can I make bnm phpmyadmin accept large dumps when nginx is running on the server?
Answer the question
In order to leave comments, you need to log in
Fest kgai has three timeouts, you need to increase them all
And yes, you need to do in that block the server where you open phpmyadmin
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question