- Plesk for Linux
It is not possible to update a Joomla instance to the latest version via Plesk when domain's PHP version is 7.0.x. The following error message appears in Plesk during the update:
PLESK_ERROR: The app requires PHP version later than 5.3.10 but earlier than 7.0. Your PHP is 7.0.31. If PHP is not available, ensure that the PHP support is selected for the domain.
If update is not possible for some reason you may try the following
As a workaround, apply the custom fix:
Connect to the Plesk server via SSH.
Create a backup of the original file:
# mv /usr/local/psa/admin/plib/CommonPanel/Aps/Requirement/Plesk/PhpVersion.php /usr/local/psa/admin/plib/CommonPanel/Aps/Requirement/Plesk/PhpVersion.php.bak
Download the patched file and unzip it:
# wget https://plesk.zendesk.com/hc/article_attachments/360012827173/PhpVersion.zip
# unzip ./PhpVersion.zip
Apply the patched file:
# mv ./PhpVersion.php /usr/local/psa/admin/plib/CommonPanel/Aps/Requirement/Plesk/