المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : حل مشكلة 504 Gateway Timeout Error وتعطل قواعد بيانات السيرفر



Rise Company
21-05-2018, 13:35
حل مشكلة 504 Gateway Timeout Error وتعطل قواعد بيانات السيرفر
حل مشكلة تعطل قواعد البيانات كلها عن العمل اثناء فتح احد الصفحات
حل مشكلة تحميل الصفحة دون فتح شىء
Gateway Timeout


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

Additionally, a 504 Gateway Timeout error was encountered while trying to use an ErrorDocument to handle the request.



https://www.rise.company/upload/uploads/1526902362641.jpg

حل المشكلة :
افتح Whm ثم اذهب الى Home »Software »MultiPHP INI Editor
بعد اختيار اصدار php الذى تعمل به قم بتغيير قيمة max_execution_time الى 6000 وهيتم حل المشكلة.






This sets the maximum time in seconds a script is allowed to run before it is terminated by the parser. This helps prevent poorly written scripts from tying up the server. The default setting is 90.


المرجع :
http://php.net/manual/en/filesystem.configuration.php#ini.default-socket-timeout
https://stackoverflow.com/questions/20471736/gateway-time-outthe-gateway-did-not-receive-a-timely-response-from-the-upstream