How can I stop my PHP script from throwing up “maximum execution time” error. Actually I’m trying to extract information from a database of about 3000 applicants, then export the information into a CSV file. It was working fine when there were around 500 or so employees, but now that it’s around 3,000, the “maximum execution time” error keeps coming up after a while. I’ve tried to use ini_set(“max_execution_time”, “1000”); but it’s not working. What else do you think I can do?
Please note that the website is hosted on a windows server so I can’t use .htaccess. I don’t think I’ll be allowed to edit the php.ini file too.
Please is there any way around this?