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