Articles in this section

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

kb: bug kb: fixed ext: migrator

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

Product issue:

  • #PMT-4892 "The extension now correctly migrates the PHP handler version and type from Plesk installations earlier than 12.0."
    Fixed in:

Resolution

Please consider updating your server:

Workaround

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.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.