• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Question Change max execution time only for some scripts

Pascal_Netenvie

Regular Pleskian
Hi,

As said in title my goal is to change PHP max_execution_time parameter for only some scripts that need it
but keep a safe default setup for all other scripts runing on the server.

Is there a way to do that ?
By plesk or command line ...

Cheers.
 
As far as I know, this setting affect a domain/subdomain and cannot be used for some scripts only. What you can do to move that scripts to a subdomain and there you can setup as you like (put in in a folder inside of your domain and setup a domain for it). Theoretically should work. You just will need to adjust the paths inside of your script.
 
Hi,

As said in title my goal is to change PHP max_execution_time parameter for only some scripts that need it
but keep a safe default setup for all other scripts runing on the server.

Is there a way to do that ?
By plesk or command line ...

Cheers.
hi you can create php.ini by (sub) domain name without use default on plesk, by script not possible
 
Back
Top