Question PHP Cron jobs: How to set php.ini settings for the version of PHP that is run by the Plesk Cron

MHC_1

Regular Pleskian
Server operating system version
Almoa Linux 9.7
Plesk version and microupdate number
Obsidian 18.0.74
Plesk has a whole host of GUI stuff for setting the standard PHP used for website control / population and presentation

BUT there seems to be nothing about how to set the required PHP.ini settings for the PHP Handler system that is used for running the "Scheduled Tasks" ; so running a script via the browser works fine, but running the Script via the CronJob uses another instigation of PHP on the server and means all the PHP settings customised are unused.

How do we set the PHP.ini settings for the version of PHP the Plesk "Scheduled Taks" uses?

Websites are presented with PHP FPM (the default on here) . Another PHP Handler is used for Cronjobs.

Primary issues:
- Can't set any php.ini values on cronjobs only.
 
Back
Top