i am getting 502 Bad Gateway error. does anyone know the solution?
i read this article :
i added this code to site :
php.ini
upload_max_filesize = 1000M post_max_size = 2000M memory_limit = 3000M file_uploads = On max_execution_time = 180
.htaccess
php_value upload_max_filesize 1000M php_value post_max_size 2000M php_value memory_limit 3000M php_value max_execution_time 180 php_value max_input_time 180
wp-config.php
define('WP_MEMORY_LIMIT', '3000M');
Solved! Go to Solution.
Hi burakco.
Thank you for being apart of the Godaddy Community.
This particular 502 issue is a generic server response letting you know we couldn't process the request. As someone mentioned above, this is a temporary issue. This is due to the resources on your particular account being at maximum capacity at the time of the request.
This is sometimes related to plugins/themes that are running at capacity or above, or inconsistently. If you seem to experience this often, make sure to give support a call so that we can review your cases individually.
Follow the steps to fix the 502 bad gateway error:
1. Refresh the Page
2. Clear Browser Cache
3. Try a Different Browser
4. Check Plugins
5. Check CDNs
Hi @burakco
Instead of using .htaccess or .php.ini, you'll want to use a .user.ini instead to modify any PHP configs.
Thanks,
Gabe