Karaethon Posted August 7, 2019 Share Posted August 7, 2019 I am testing an idea and I want to run through thousands of iterations of the testing script. It is not a complex script but is complex proccessing (using password_hash) and it timesout out on the 64th iteration, is there an ini_set command or simething I can put in the start of the testing file to change the timeout only for the proccessing of this script? Quote Link to comment Share on other sites More sharing options...
gw1500se Posted August 7, 2019 Share Posted August 7, 2019 max_execution_time 1 Quote Link to comment Share on other sites More sharing options...
Karaethon Posted August 7, 2019 Author Share Posted August 7, 2019 Argh, I combed the php documentation and missed it. Thank you. Quote Link to comment Share on other sites More sharing options...
Karaethon Posted August 7, 2019 Author Share Posted August 7, 2019 I was looking for "script timeout" or "timeout_[something]" I passed right over execution_time. Doh! Quote Link to comment Share on other sites More sharing options...
Barand Posted August 7, 2019 Share Posted August 7, 2019 You might also want to look at set_time_limit() if it's just for the single script Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.