top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

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

+1 vote
799 views
How can I increase the execution time of a PHP script?
posted May 7, 2014 by Sachin Dahda

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

2 Answers

+1 vote

By changing the following set up at php.inimax_execution time=30; i.e. Maximum execution time of each script ,in seconds.

answer May 8, 2014 by Mohit Sharma
0 votes

changing the following set up at php.ini file maxf_execution time=30; 30 sec is by default..

answer May 14, 2014 by Vrije Mani Upadhyay
Similar Questions
+1 vote

I'm writing my first php extension and I need to list included files (in PHP script) from RINIT function, but I cannot figure out how.

I deep into PHP source code and I think it's related to EG(included_files), but I can't to access the list.

PHP_RINIT_FUNCTION(extname)
{
 // SAPI NAME AND PHP SCRIPT FILE HANDLE PATH
 char *pt_var_sapi_name = sapi_module.name;
 char *pt_var_file_handle_path = SG(request_info).path_translated;

 // HOW CAN I USE EG(included_files) to get included files list?

 return SUCCESS;
}
–1 vote

I want to display the number of views of my homepage and continuously increase the views whenever a user opens that page. How to achieve this using PHP and MYSQL?

...