• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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