I am using PHP that gets so many data from several sites and write those data to the server which make files greater than 500 MB, but the process fails in between giving a 500 INTERNAL ERROR, how to adjust the timeout time of the php so that the process runs till it is completed.
How to prevent timeout when running a time consuming PHP
789 views Asked by Saif At
2
If you want to increase the maximum execution time for your scripts, then just change the value of the following setting in your php.ini file-
If you want more memory for your scripts, then change this-
One more thing, if you keep on processing the input(GET or POST), then you need to increase this as well-