• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Question Apps installing error

EugeneS

New Pleskian
Hi, we have following situation:
Plesk 12.5.30 at CloudLinux, all users in CageFS. Only 'alt-' php versions available to users.
Where is the error during any app (WP, Joomla, Drupal etc.) installing process:
PHP:
Non-zero exit status returned by script. Output stream: 'PHP Fatal error: Uncaught Error: Call to undefined function mysqli_connect() in /usr/local/psa/var/apspackages/apscatalogs6fCuw.zip896f95ca-27c5-8c/cache/scripts/db-util.php:53 Stack trace: #0 /usr/local/psa/var/apspackages/apscatalogs6fCuw.zip896f95ca-27c5-8c/cache/scripts/app-util.php(28): mysql_db_connect('localhost', 'testalex_wp', 'testtest', 'testalex_wp', '3306') #1 /usr/local/psa/var/apspackages/apscatalogs6fCuw.zip896f95ca-27c5-8c/cache/scripts/app-util.php(10): import_sql_scripts_to_databases(Array, Array, Array, Array, Array, Array, Array, Array) #2 /usr/local/psa/var/apspackages/apscatalogs6fCuw.zip896f95ca-27c5-8c/cache/scripts/configure(136): configure(Array, Array, Array, Array, Array, Array, Array, Array, Array) #3 {main} thrown in /usr/local/psa/var/apspackages/apscatalogs6fCuw.zip896f95ca-27c5-8c/cache/scripts/db-util.php on line 53 '. Error stream: 'PHP Fatal error: Uncaught Error: Call to undefined function mysqli_connect() in /usr/local/psa/var/apspackages/apscatalogs6fCuw.zip896f95ca-27c5-8c/cache/scripts/db-util.php:53 Stack trace: #0 /usr/local/psa/var/apspackages/apscatalogs6fCuw.zip896f95ca-27c5-8c/cache/scripts/app-util.php(28): mysql_db_connect('localhost', 'testalex_wp', 'testtest', 'testalex_wp', '3306') #1 /usr/local/psa/var/apspackages/apscatalogs6fCuw.zip896f95ca-27c5-8c/cache/scripts/app-util.php(10): import_sql_scripts_to_databases(Array, Array, Array, Array, Array, Array, Array, Array) #2 /usr/local/psa/var/apspackages/apscatalogs6fCuw.zip896f95ca-27c5-8c/cache/scripts/configure(136): configure(Array, Array, Array, Array, Array, Array, Array, Array, Array) #3 {main} thrown in /usr/local/psa/var/apspackages/apscatalogs6fCuw.zip896f95ca-27c5-8c/cache/scripts/db-util.php on line 53 '.
As i could assume, the problem is in the CageFS, because psaadm (looks like installation process use this account during installation)- not in CageFS
Any suggestions, to resolve this situation?
 
Hello,

I have the same issue and i confirm that it is related to 'alt-' php versions.

Please I need an urgent solutions to that because I have migrated all website to CloudLinux PHP versions and it is causing my clients problems with installing/updating/logging in to applications.

Could it be fixed with some permission tweaks ?

Regards,
 
Hi, we getting answer from Plesk support team, to get this tool work preperly, you need to manually enable required php modules (mysql, mysqlnd, json etc.) in custom alt-*-php.ini files. As i know, there is no other methods available in Plesk 12. Contact their support for more details.
 
Back
Top