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:
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
Please check for a hidden .htaccess file on your server and if there is no .htaccess file then you can create one( make sure that there is no hidden htaccess file otherwise it will overwrite) and paste this code.
php_value max_execution_time 259200
You can also refer this url Increase max execution time for php