Change PHP version for a site in Plesk Command line

To change PHP version for a site, first find available PHP handlers, this can be done with command

Plesk Change PHP version

You need to find the id for the PHP handler. For PHP 5.6 fpm, it is “plesk-php56-fpm”.

To change a sites PHP version to PHP 5.6, run

Example

Plesk change PHP handler

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *