Plesk task scheduler: different PHP version is shown in Tools & Settings > Scheduled tasks and in Domains > Scheduled tasks

Created:

2016-11-16 12:44:19 UTC

Modified:

2017-05-11 13:23:50 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Plesk task scheduler: different PHP version is shown in Tools & Settings > Scheduled tasks and in Domains > Scheduled tasks

Applicable to:

  • Plesk 12.5 for Linux

Symptoms

A task was scheduled to run with a PHP script from Domains > example.com > Scheduled Task using PHP 7.0.

  1. If go to Tools & Settings > Schedule Task , a different PHP version is shown.

  2. If PHP version is changed from Tools & Settings > Scheduled Task , different PHP version is shown in the task from Domains > example.com > Scheduled Task .

Cause

This issue has been considered as software issue #PPPM-4891 and will be fixed in future product updates.

Workaround

  1. Download archive from the attachment and unzip it.

  2. Make a backup of the file /usr/local/psa/admin/plib/CommonPanel/Controller/Action/Scheduler/Trait.php .

  3. Put unzipped file Trait.php from the archive to the directory /usr/local/psa/admin/plib/CommonPanel/Controller/Action/Scheduler/ replacing the original file.

  4. If some PHP handler was selected in admin panel before this fix was applied just select required handler in hosting admin panel.

Attachments:

Have more questions? Submit a request
Please sign in to leave a comment.