January 27, 2023
How to increase the execution time in xampp
TechTechInfo.com » How to increase the execution time in xampp

How to increase the execution time in xampp

increase execution limit in xampp
increase execution limit in xampp

In this blog, we will learn about how to increase the limit of the PHP code execution time in xampp, and also we will understand the process to improve the post_max_size, upload_max_filesize,max_input_time and,memory_limit. These 5 configurations will help to execute the large SQL query on the PHPMyAdmin that may take a long time to execute. Also, this configuration may help with large input file upload and complex or nested loop execution.

We will also increase the ‘ExecTimeLimit’ of the PHP code to the infinite through the PHPMyAdmin configuration files 

My Configuration before changes

php configuration old limits in xampp
php configuration old limits in xampp

 

Step 1. Open xampp control panel

xampp Dashboard

 

Step 2. click on the config button in the first row and open php.ini

How to open php.ini file from xampp
How to open php.ini file from xampp

 

Step 3. Replace the below configuration in php.ini file

post_max_size = 750M 
upload_max_filesize = 750M 
max_execution_time = 5000 
max_input_time = 5000 
memory_limit = 1000M 

To increase the infinite execution limit Do the below changes also

File path: phpMyAdmin\libraries\config.default.php


/**
 * maximum execution time in seconds (0 for no limit)
 *
 * @global integer $cfg['ExecTimeLimit']
 */
$cfg['ExecTimeLimit'] = 0;

Now save both files and restart the apache server again

increase execution limit in xampp
increase execution limit in xampp
Join the discussion

Translate »
Share via
Copy link