1// you need to add this line at the bottom of your .htaccess file
2Before # END WordPress Like this...
3
4php_value max_execution_time 1000
5# END WordPress
1A better solution here is to change the config that controls phpMyAdmin and not the php.ini file.
2
3If you change the php.ini file you effect everything in PHP and should you write that infinite loop that we all do from time to time it will take longer to terminate your infinite loop than is sensible.
4
5Note: If you are using the 64bit WAMPServer the base folder name will be wamp64 instead of wamp so please amend the below folder names accordingly.
6
7So change \wamp\alias\phpmyadmin.conf. By default it will look something like this although your version of phpMyAdmin will probably be different:
8
9Alias /phpmyadmin "c:/wamp/apps/phpmyadmin4.1.14/"
10
11<Directory "c:/wamp/apps/phpmyadmin4.1.14/">
12 Options Indexes FollowSymLinks MultiViews
13 AllowOverride all
14 <IfDefine APACHE24>
15 Require local
16 </IfDefine>
17 <IfDefine !APACHE24>
18 Order Deny,Allow
19 Deny from all
20 Allow from localhost ::1 127.0.0.1
21 </IfDefine>
22 php_admin_value upload_max_filesize 128M
23 php_admin_value post_max_size 128M
24 php_admin_value max_execution_time 360
25 php_admin_value max_input_time 360
26</Directory>
27To extend the maximum time limit for importing a database, change the php_admin_value max_execution_time parameter. You may also need to change the other parameters as larger databases tend to come in larger files and take longer to read as well. Example:
28
29 php_admin_value upload_max_filesize 1024M
30 php_admin_value post_max_size 1024M
31 php_admin_value max_execution_time 1800
32 php_admin_value max_input_time 1800