• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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