- Plesk Onyx for Linux
- Plesk Onyx for Windows
On a Plesk server, no PHP handlers are installed;
The following warning is given when creating a subscription in Subscriptions > Add Subscription:
PLESK_WARN: Warning: Subscription is not synced with service plan because of problems: php;
The subscription is actually synced with the service plan.
It is the Plesk bug with ID PPPM-8249, which is planned to be fixed in one of the future Plesk updates.
Until the bug is fixed, use the following workaround:
- Log in to Plesk;
- Go to Service Plans > plan_name > PHP Settings;
- Uncheck the option PHP support;
- Click Update & Sync.
In case if command-line interface is used, the command might error out:
C:\> plesk bin service_plan --update Unlimited -php false -asp true
Unable to update the hosting plan: Unable to update domain template: Wrong value of php_handler_id, it can take only
exit status 1
In such a case, use the following workaround:
Run the following command to disable PHP support:
# plesk db "UPDATE TmplData SET value = 'false' WHERE element = 'php' AND tmpl_id=(SELECT id FROM Templates WHERE name = 'Unlimited')"
Run the following command to enable ASP support:
C:\> plesk db "UPDATE TmplData SET value = 'true' WHERE element = 'asp' AND tmpl_id=(SELECT id FROM Templates WHERE name = 'Unlimited')"