Maximum PHP script run time 40sec default

How can i change the Maximum PHP script run time 40second default value to a higher number for new virtual servers.

I have searched the forum and google there are more question then answears.

So maybe something more is know now.

Thank you.

Status: 
Closed (works as designed)

Comments

Howdy -- hmm, which PHP Execution Mode is it that you're using there?

Project: Virtualmin.com » Virtualmin Virtual Servers

# virtualmin modify-web --all-domains --php-timeout 181

You can change the default at System Settings -> Virtualmin Configuration -> PHP options.

Sorry for late repsonce,

But I am using FCGId, System Settings -> Virtualmin Configuration -> PHP options, I saw this setting but i understand from it that with this setting you can not change the value individually any more. I was more looking that this setting an be set at template or plan level, so it is changeable in the feature individually, is that possible?

You can change it per domain on the Website Options page.

I think what Jamie is saying here is that there is one setting that is provided to all new domains.

I don't know of a way where it can be modified using a Server Template or Account Plan, but if you have a domain that needs a non-default value, you can always change things for that particular domain using the option that Jamie mentioned.

Yes i am looking for value for all new domain and but still individually configurable. Maybe worth a consideration to add this in the account plans!

Thanks for your thoughts, we'll consider this for the future!

That's not something a lot of folks have requested, but we'll review whether that might be beneficial.

Right, at the moment this isn't a per-template option, sorry.

Status: Active » Closed (works as designed)

Hi, I'm looking forward to this config also (for default FCGId mode).

Is it currently safe to change "40" to some other value inside "/usr/share/webmin/virtual-server/php-lib.pl", or is there any better workaround right now?