How can we increase the execution time of a PHP script?

Answer Posted / devasundaram

Three ways we can solve this.

1) set_time_limit() function

2) ini_set() function

3) Modifying `max_execution_time' value in PHP
configuration(php.ini) file

1 and 2 are using for temporarily purpose. 3 is for permanent.

Is This Answer Correct ?    66 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is encapsulation in php?

560


What is user defined function in php?

532


Are php short tags acceptable to use?

523


/temp is a type of filesystem directory. State Whether True or False?

583


Explain what does the expression exception::__tostring means?

491






Write down the code for save an uploaded file using php?

452


Explain what does $_files means?

553


What is the purpose of constant() function?

515


What is difference between readonly and constant?

503


Write a php function to convert all null values to blank?

781


How to merge values of two arrays into a single array?

482


What is session data?

536


Explain object-oriented methodology in php?

580


Tell me how is it possible to propagate a session id?

599


What is the importance of "action" attribute in a html form?

538