Submitted by 123pc on Fri, 08/17/2018 - 08:36
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
Submitted by andreychek on Fri, 08/17/2018 - 12:06 Comment #1
Howdy -- hmm, which PHP Execution Mode is it that you're using there?
Submitted by 123pc on Fri, 08/17/2018 - 12:22 Comment #2
Submitted by jimdunn on Fri, 08/17/2018 - 14:12 Pro Licensee Comment #3
# virtualmin modify-web --all-domains --php-timeout 181
Submitted by JamieCameron on Sat, 08/18/2018 - 14:19 Comment #4
You can change the default at System Settings -> Virtualmin Configuration -> PHP options.
Submitted by 123pc on Mon, 08/20/2018 - 04:00 Comment #5
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?
Submitted by JamieCameron on Mon, 08/20/2018 - 20:53 Comment #6
You can change it per domain on the Website Options page.
Submitted by andreychek on Mon, 08/20/2018 - 23:07 Comment #7
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.
Submitted by 123pc on Tue, 08/21/2018 - 17:01 Comment #8
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!
Submitted by andreychek on Tue, 08/21/2018 - 17:51 Comment #9
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.
Submitted by JamieCameron on Tue, 08/21/2018 - 21:28 Comment #10
Right, at the moment this isn't a per-template option, sorry.
Submitted by 123pc on Wed, 08/22/2018 - 12:01 Comment #11
Submitted by kybersoft on Sat, 04/13/2019 - 04:43 Comment #12
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?