Symptoms
The following warning is shown during Plesk migration whereas mentioned PHP handler exists on the target server:
Service plan 'Default Domain' on source server has PHP handler
that is not installed on the target server: custom PHP handler (id='fastcgi-7.4') for PHP 4 running in CGI mode.
Another PHP handler was selected for that service template: custom PHP handler (id='cgi-5.6') for PHP 5.6.40 running in CGI mode
Cause
Plesk Migrator bug with ID #PMT-4892: Orphaned database records php_version and/or php_handler_type in the table TmplData
of psa database.
Resolution
Until the issue is resolved, the following workaround can be applied:
On Plesk for Windows
-
Connect to the source server via RDP.
-
Open command prompt as Administrator and make Plesk database backup:
plesk db dump > C:plesk_db_dump.sql
-
Remove all unnecessary lines from Plesk database:
plesk db "DELETE FROM TmplData WHERE element='php_version'"
plesk db "DELETE FROM TmplData WHERE element='php_handler_type'"
-
Log in to Plesk on the target server.
-
Go to Tools & Settings > Migration & Transfer Manager > 203.0.113.2
-
Click the button Reload source data and re-migrate necessary subscriptions.
On Plesk for Linux
-
Connect to the source server via SSH
-
Run the following two commands to remove all unnecessary lines from Plesk database:
# plesk db "DELETE FROM TmplData WHERE element='php_version'"
# plesk db "DELETE FROM TmplData WHERE element='php_handler_type'"
-
Log in to Plesk on the target server.
-
Go to Tools & Settings > Migration & Transfer Manager > 203.0.113.2
-
Click the button Reload source data and re-migrate necessary subscriptions.