Web Design and Development Company in Ahmadabad | Punctual Infotech

Mobile Responsive Web Design and Development Company Ahmedabad, Gujarat, India

Web Development | Website Development in Ahmedabad | Punctual Infotech

Web Design and Development Company  in Ahmadabad | Dhaval Infotech  Get Android Application Development Services Company in Ahmedabad  Web Development | Website Development in Ahmedabad | Dhaval Infotech  Free Web Hosting | Free Domain Register | Dhaval Infotech   Website Redesign Company in Ahmedabad | Website maintenance | Dhaval Infotech Mobile Responsive Web Design and Development Company Ahmedabad, Gujarat, India

Default maximum PHP Script Execution Time is 30 seconds, But if you need to process big file then you may have seen your script got crashed, and It throws script execution timeout error. So if your project required to process huge file like exporting big CSV file from MYSql, Then you need to increase PHP Script Execution Time, You can easily increase script execution time by following two ways.

By php.ini file

Open php.ini file in any text editor and find following line max_execution_time and edit it’s value.

max_execution_time = 300 // 300 seconds = 5 minutesa

Add following code on the top of the page, Where long process need to execute.

ini_set('max_execution_time', 300); // 300 seconds = 5 minutes