I'm trying to increase the max_execution_time value in PHP(5.5) running on IIS 7.5 (Windows Server 2012).
phpinfo() shows max_execution_time=300 regardless of what I tried. Some Internet sources mentioned that this value is overridden by something in IIS.
Based on Internet searches, I've tried the following:
- Edited max_execution_time in php.ini to 1200 then restarted server - no effect
- Changed CGI->Behavior->Time-out to 1200 then restarted server - no effect
- Put "ini_set('max_execution_time', 1200);" above phpinfo(). This actually had some effect. The page shows the "local" value is 1200 while the "master" value is still 300.
I can understand that the third option worked because it is in the same script and immediately above the phpinfo() line and therefore has the highest priority. However, I'm looking for a server-wide configuration. I have a feeling that it's possible, and that I'm not looking in the right place.
Can someone point me in the right direction?
Thanks