Try raising max_execution_time setting in php.ini file (CentOS path is /etc/php.ini): max_execution_time = 150 I will show you through the step by step installation to fix nginx 504 gateway timeout on the nginx webserver. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. ![]() If you run a Nginx web server you may have already encountered the annoying 504 Gateway Time-out errors. This is pretty common error, are generated most probably by the PHP max execution time limit or by the FastCGI read timeout settings. In this tutorial we are going to learn how to fix 504 gateway time-out on Nginx web server on Linux server.
0 Comments
Leave a Reply. |