Articles in this section

After updating WP Toolkit to version 5.3, WordPress instances on domains with PHP 5.3 or lower could not be managed via WP Toolkit

kb: technical ext: wptk Plesk Obsidian for Linux Plesk Obsidian for Windows

Applicable to:

  • Plesk Obsidian for Linux
  • Plesk Obsidian for Windows

Symptoms

  • On a Plesk Obsidian server, WP Toolkit was updated to version 5.3.

  • WordPress instances installed on domains with PHP 5.3 or lower are not manageable in Domains > example.com > WordPress and the warning is shown:

    PHP version 5.3.26 is not supported. PHP version used by this site has reached End Of Life and is not supported by PHP team and WP Toolkit anymore. Using outdated PHP versions poses a security risk for your website. Switch to a newer PHP version to ensure the security of your site and to manage it via WP Toolkit. Note: WP Toolkit cannot retrieve any information about this site due to unsupported PHP version.

    mceclip0.png

Cause

Starting from WP Toolkit v.5.3 PHP versions 5.3 and lower are not supported anymore.

Resolution

  1. Log in to Plesk.

  2. Go to WP Toolkit and select PHP version 7.0 or higher from a drop-down under error message:

    mceclip2.png

    Note: WordPress version 3.6 and above are compatible with PHP 7.0, update the WordPress installation if necessary.

For multiple domains

Draft for script:

CONFIG_TEXT: plesk bin php_handler --get-usage -id plesk-php52-cgi | awk '{ print $2 }' | tail -n +2
plesk bin php_handler --get-usage -id plesk-php52-fastcgi | awk '{ print $2 }' | tail -n +2
plesk bin php_handler --get-usage -id plesk-php53-cgi | awk '{ print $2 }' | tail -n +2
plesk bin php_handler --get-usage -id plesk-php53-fastcgi | awk '{ print $2 }' | tail -n +2


plesk bin site --update termoshin.tk -php_handler_id plesk-php73-fpm

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.