Prevent php timeout in webmin

Virtualmin > Server Configuration > Website options > Maximum php script run time.

Note: If using Cloudflare, this can also cause a 524 – Origin timeout. Cloudflare will need to be disabled for the subdomain.