tobyandlauren.id.au

BLOG PROJECTS FAMILY TREE
Subscribe by RSS feed

phpMyAdmin import timing out

So you’ve got a big .sql file to import, but phpMyAdmin is timing out after 300 seconds. You’ve set PHP’s upload_max_filesize to accept huge files, and the script timeout to some ridiculous figure. You’ve set every Apache directive you can find. But it still times out after 300 seconds.Here’s the answer. Go into /phpmyadmin/config.inc.php. Find $cfg[’ExecTimeLimit’]. Set it to something more than 300. Done.