Plesk

Plesk migration fails with the warning: Service plan on source server has PHP handler that is not installed on the target server

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

  1. Connect to the source server via RDP.

  2. Open command prompt as Administrator and make Plesk database backup:

    plesk db dump > C:plesk_db_dump.sql

  3. 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'"

  4. Log in to Plesk on the target server.

  5. Go to Tools & Settings > Migration & Transfer Manager > 203.0.113.2

  6. Click the button Reload source data and re-migrate necessary subscriptions.

On Plesk for Linux

  1. Connect to the source server via SSH

  2. Create Plesk database backup

  3. 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'"

  4. Log in to Plesk on the target server.

  5. Go to Tools & Settings > Migration & Transfer Manager > 203.0.113.2

  6. Click the button Reload source data and re-migrate necessary subscriptions.

Exit mobile version