- Plesk Onyx for Linux
- Plesk Onyx for Windows
- Additional PHP directives and custom PHP modifications are not migrated to the target server
- Some websites cannot work properly on the target server if custom PHP setting were set on the source server
This is Plesk Migrator bug with ID #PMT-3377 which will be fixed in future extension updates.
As a workaround, manually set additional PHP settings for each domain in Plesk after migration at Domains > example.com > PHP Settings.
To list additional PHP settings on the source server:
- Connect to the source server via SSH
- Run the following command to list all domains with additional PHP settings:
# plesk db "SELECT domains.name,PhpSettingsCustom.value FROM PhpSettingsCustom,dom_param LEFT JOIN domains on domains.id=dom_param.dom_id WHERE param='phpSettingsId' AND val=PhpSettingsCustom.id;"