Unable to install application: PHP extension was not found

Created:

2016-12-12 03:49:04 UTC

Modified:

2017-08-08 13:43:07 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Unable to install application: PHP extension was not found

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk Onyx for Linux
  • Plesk 12.0 for Linux

Symptoms

  1. Alt-PHP and CageFS are installed and are in use

  2. Installation or update of any APS application (WordPress, Joomla, Drupal etc.) hangs in the process or interrupts with the error similar to:

    Error: Unable to install the app because its installation requirements are not met. Contact your hosting provider to resolve this problem. PHP extension 'mysqli' extension was not found.

Or:

Installation cannot be completed and sometimes the following error is shown:

    Non-zero exit status returned by script

Cause

The issue is related to interaction between Plesk and CageFS. This is Plesk bug with ID #PPPM-5343 which is planned to be fixed in future Plesk updates.

Resolution

As a workaround, please use one of the following options:

  • Use PHP versions which are shipped by Plesk which can be installed in Tools & Settings > Updates and Upgrades .

  • Define necessary PHP extensions (modules) in "Dynamic Extensions" section in Tools & Settings > PHP Settings > alt-php version > php.ini . For example, for WordPress it is needed to add the following:

    extension=mysqli.so
    extension=mysql.so
    extension=json.so
Have more questions? Submit a request
Please sign in to leave a comment.