Applicable to:
- Plesk for Linux
- Plesk for Windows
Symptoms
Application installation from APS catalog fails:
PLESK_ERROR: Error: Unable to install the app because its installation requirements are not met. Contact your hosting provider to resolve this problem.
Requirements
PHP extension The 'mysqli' extension was not found
Cause
PHP handler selected for the domain does not have mysqli
or mysqlnd
extension enabled.
Resolution
-
Find the PHP handler version which is used by the affected domain, e.g
example.com
, in Domains > example.com > PHP Settings: -
Enable extensions both mysqli (for both Linux and Windows) and mysqlnd (for Linux only) extensions in Tools & Settings > PHP Settings > PHP version from step #2
Note: If those extensions are missing, install them as described in the article.
-
Re-initiate the installation of the application.
Comments
15 comments
I Have this exact Problem but turning on the extensions does not help. The extensions are actually all activated but the Installer doesnt recognize them.
I tried switching them on and off but that didnt help either. The Installer still doesnt recognize that there there. This is with a Joomla Update.
Hello Swen Andrew
Please, let me know the OS and Plesk version you're using so that we could try it on a test instance.
Plesk Obsidian Version 18.0.27 (Problem persisted in earlier versions as well)
Ubuntu 18.04.4
PHP 7.3.17
I was able to resolve the issue by switching the site back to PHP 7.2 and then switching back to PHP 7.3
Swen Andrew
Thank you for the provided info.
During the version switch, domain PHP configuration was regenerated.
However, the reason why this happened previously is unclear and an investigation is required.
The next joomla update the Problem returened again. I again switched back to 7.2 and tne 7.3 to solve it.
Hello Swen Andrew
I would suggest contacting support, additional investigation is required.
I have the same problem as described above with the installation of Sugar CRM. Same Version of PHP, it says the extension is there, but not recognized. Even the workaround "switching to previous 72.33 php Version and back to 7.33" does not work for me.
Any updates or solutions yet?
sorry 7.2 to 7.3 of course...
Hi Christoph Wesselburg
I recommend try using another PHP version if possible and see if the issue persists. If that doesn't help, I'd suggest contacting our support team as further investigation might be required on the server.
Hello,
Have the same issue, when flags turned ON on both php 7.2 or 7.3 versions.
Plesk Obsidian Web Pro Edition
Version 18.0.30 Update #2
Ununtu 16.04
Hello Yurii Samonov
Additional investigation is required to understand why it happens.
Submit a support request to us or to our partner depending on where Plesk license was purchased.
Hi Folks, this article says "applicable to" both Linux and Windows but step 3 is for Linux only, then the linked article is also only applicable to Linux. Is there another solution for Windows?
Hello 1&1 IONOS,
Thank you for bringing our attention to this fact. The article has been updated to make the information more explicit.
Note: The module mysqlnd is used during the compilation of mysql, mysqli, and pdo_mysql on WIndows so it is included but not visible.
Same problem with Drupal update, neither php 7.3 nor 7.2 are working, extensions are installed:
I could solve the problem by switching from "FPM application served by Apache" to "FPM application served by nginx". No idea why this helps, because there is no obvious relation to the PHP extensions mentioned in the error message.
Please sign in to leave a comment.