Maximum execution time in phpMyadmin
I have the same error, please go to
xampp\phpMyAdmin\libraries\config.default.php
Look for : $cfg['ExecTimeLimit'] = 600;
You can change '600' to any higher value, like '6000'.
Maximum execution time in seconds is (0 for no limit).
This will fix your error.
WAMPServer phpMyadmin Maximum execution time of 360 seconds exceeded
A better solution here is to change the config that controls phpMyAdmin and not the php.ini
file.
If 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.
Note: 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.
So change \wamp\alias\phpmyadmin.conf
. By default it will look something like this although your version of phpMyAdmin will probably be different:
Alias /phpmyadmin "c:/wamp/apps/phpmyadmin4.1.14/"
<Directory "c:/wamp/apps/phpmyadmin4.1.14/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
<IfDefine APACHE24>
Require local
</IfDefine>
<IfDefine !APACHE24>
Order Deny,Allow
Deny from all
Allow from localhost ::1 127.0.0.1
</IfDefine>
php_admin_value upload_max_filesize 128M
php_admin_value post_max_size 128M
php_admin_value max_execution_time 360
php_admin_value max_input_time 360
</Directory>
To 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:
php_admin_value upload_max_filesize 1024M
php_admin_value post_max_size 1024M
php_admin_value max_execution_time 1800
php_admin_value max_input_time 1800
Don't forget to restart Apache after making changes to this file.
Maximum execution time of 300 seconds in Xampp on Windows
Change Maximum Execution Time
php.ini
max_execution_time = 30
From Code
Start your code with,
ini_set('MAX_EXECUTION_TIME', 3600);
.htaccess
php_value max_execution_time 3600
No matter which option you choose, restart Apache service.
Fatal error: Maximum execution time of 300 seconds exceeded
At the beginning of your script you can add.
ini_set('MAX_EXECUTION_TIME', '-1');
Fatal error : execution time of 30 seconds exceeded in phpMyAdmin
Add this line
$cfg['ExecTimeLimit'] = 6000;
to phpmyadmin/config.inc.php
And Change php.ini and my.ini
- post_max_size = 750M
- upload_max_filesize = 750M
- max_execution_time = 5000
- max_input_time = 5000
- memory_limit = 1000M
- max_allowed_packet = 200M (in my.ini)
Related Topics
Doing Calculations in MySQL VS PHP
Get the Files Inside a Directory
PHP Post_Max_Size Overrides Upload_Max_Filesize
What Are the Differences Between Composer Update and Composer Install
PHP Short Hash Like Url-Shortening Websites
Generating a Drop Down List of Timezones With PHP
Is There an Equivalent For Var_Dump (PHP) in JavaScript
Access Controller Method from Another Controller in Laravel 5
How to Import a .SQL File in MySQL Database Using PHP
Call to Undefined Function Curl_Init().
PHP Curl Not Working - Wamp on Windows 7 64 Bit
How to Override the Path of PHP to Use the Mamp Path
Sha1 VS Md5 VS Sha256: Which to Use For a PHP Login
How to Read Last Lines (I.E. "Tail") from a File Using PHP
How to Get Last Key in an Array
Laravel - Eloquent or Fluent Random Row
Difference Between Session_Unset() and Session_Destroy() in PHP