Aamir Aamir - 1 year ago 129
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.

Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download