Aamir Aamir - 5 months ago 31
PHP Question

How to increase the execution timeout in php?

How to increase transaction timeout? I want to upload videos, but large size of videos not uploaded?

It throws error

The process *** exceeded the timeout of 60 seconds.


You need to change some setting in your php.ini :

upload_max_filesize = 2M 
;or whatever size you want

max_execution_time = 60
; also, higher if you must - sets the maximum time in seconds

Were your PHP.ini is depends on your enviroment, more information: http://php.net/manual/en/ini.list.php