- Gateway Timeout
- The gateway did not receive a timely response from the upstream server or application.
- The timeout specified has expired
- Fatal error: Maximum execution time of 300 seconds exceeded
It could be max_execution_time or max_input_time in .
This can usually be resolved by increasing the values for:
- max_execution_time and/or max_input_time in the php.ini (DirectAdmin: /usr/local/lib/php.ini) and
- fastcgi_read_timeout in /etc/nginx/nginx_limits.conf
Restart php-fpm and nginx after the changes
or
Open httpd.conf and add
TimeOut 120
ProxyTimeout 120
Solve the issue in WAMP and XAMPP
To increase the max_execution_time
- Go to C:\wamp\apps\phpmyadmin\libraries (path according to your installation)
- Open config.default.php and change value for $cfg[‘ExecTimeLimit’] to 0:
$cfg['ExecTimeLimit'] = 0;
This will resolve the issue for PhpMyAdmin imports.