• 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.

Issue Plesk Obsidian 18.0.29 - MySQLi is not working

EternexSystems

New Pleskian
My server currently updated to Plesk Obsidian 18.0.29 now I created a website, with no issues with PHP however all attempts to connect to a database using the PHP MySQli extension failed miserably... PDO apppears to work, but all my code is written with MySQli... refactoring is not option. Can someone help...??
 
MySQLi module is loaded by default for Plesk PHP versions at least. For PHP 7.4, for example:

# /opt/plesk/php/7.4/bin/php -m | grep mysqli
mysqli

Make sure that you have loaded this module for PHP version that you are using.
 
What exact error message do you have? How this issue can be reproduced? Could you please be more specific?
 
Yes that's the thing... mysqli just doesn't execute... it returns no error message either with mysqli_error($conn) or $conn->connect_error()... so I personally have no idea what I'm doing wrong or what's happening....
 
Back
Top