treynolds_envalo
New Pleskian
I need to set the max_execution_time above 120 second. I have done this successfully with a workaround, but I would really prefer to make it simple for us to change our host environments using the dropdowns on the PHP settings panel.
Overview of the issue:
The 'max_execution_time' dropdown only has 4 options: 30, 60, 90, 120.
When you choose one of those options, Plesk automatically re-configures Apache and Nginx to set their Timeout and proxy_read_timeout values respectively.
You can enter in a PHP and Apache directive to override the 120 value, but you cannot for Nginx as it gives an error about a duplicate directive in the nginx configuration file.
The workaround is:
1. Edit the default php.ini file for the version of PHP we are using (5.6.36) to set the default max execution time. (I set it to 600)
2. Go to the PHP editor and click the 'use default value' link next to the max_execution_time dropdown, which will change the value to 600
3. Save the PHP settings, which now makes Plesk NOT put any directive for Timeout or proxy_read_timeout
4. Enter in the directives for Timeout and proxy_read_timeout on the Apache/Nginx page.
What I would have LIKED the system to do is use the value of 600 in the Apache and Nginx configuration files.
So my question is, how can I add more options to the max_execution_time dropdown? I've grepped all over the Plesk install hoping to find a configuration file that would drive those dropdowns. I have been unsuccessful.
Thank you
Overview of the issue:
The 'max_execution_time' dropdown only has 4 options: 30, 60, 90, 120.
When you choose one of those options, Plesk automatically re-configures Apache and Nginx to set their Timeout and proxy_read_timeout values respectively.
You can enter in a PHP and Apache directive to override the 120 value, but you cannot for Nginx as it gives an error about a duplicate directive in the nginx configuration file.
The workaround is:
1. Edit the default php.ini file for the version of PHP we are using (5.6.36) to set the default max execution time. (I set it to 600)
2. Go to the PHP editor and click the 'use default value' link next to the max_execution_time dropdown, which will change the value to 600
3. Save the PHP settings, which now makes Plesk NOT put any directive for Timeout or proxy_read_timeout
4. Enter in the directives for Timeout and proxy_read_timeout on the Apache/Nginx page.
What I would have LIKED the system to do is use the value of 600 in the Apache and Nginx configuration files.
So my question is, how can I add more options to the max_execution_time dropdown? I've grepped all over the Plesk install hoping to find a configuration file that would drive those dropdowns. I have been unsuccessful.
Thank you