504 Gateway Timeout Phpmyadmin file import

504 Gateway Timeout

The gateway did not receive a timely response from the upstream server or application.

how can I fix this? This issue happens to all my clients when trying to upload the database using PHPMyAdmin.

and which file do I need to edit to increase the max upload size 100MB to 650MB

php.ini for each version …

In create the time out in nginx and apache2 or just import it over CLI


hey, this is correct?

apache2.conf :

Timeout 30

nginx.conf :

keepalive_timeout 30s;

Increase them if needed …